Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

NPE in MesosCluster #532

Closed
pschorf opened this issue Apr 17, 2017 · 1 comment
Closed

NPE in MesosCluster #532

pschorf opened this issue Apr 17, 2017 · 1 comment
Labels

Comments

@pschorf
Copy link

pschorf commented Apr 17, 2017

I'm getting this stack trace with 0.13.0 running minimesos up on a minimesosFile without marathon:

java.lang.NullPointerException
at com.containersol.minimesos.cluster.MesosCluster.(MesosCluster.java:109)
at com.containersol.minimesos.cluster.MesosCluster.loadCluster(MesosCluster.java:79)
at com.containersol.minimesos.cluster.ClusterRepository.loadCluster(ClusterRepository.java:31)
at com.containersol.minimesos.main.CommandUp.getCluster(CommandUp.java:131)
at com.containersol.minimesos.main.CommandUp.execute(CommandUp.java:73)
at com.containersol.minimesos.main.Main.run(Main.java:108)
at com.containersol.minimesos.main.Main.main(Main.java:60)

I think the culprit is this line: https://github.com/ContainerSolutions/minimesos/blob/master/minimesos/src/main/java/com/containersol/minimesos/cluster/MesosCluster.java#L109 which assumes that there's a marathon.

@frankscholten
Copy link
Contributor

@pschorf Thanks for spotting this one! Indeed Marathon is currently optional but really it should be required since the install command depends on it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants