linkedin/glu — Issue #129: Exception when calling stop with nothing to do
Author: ypujante
Created: 2012-03-07 15:47:06+00:00
State: open

With an empty system (both live and static) simply invoke the stop command from the cli:

./bin/console-cli.sh -f glu-dev-1 -u glua -x password -a stop

You get an exception:

[ant:exec] 2012/03/07 16:42:25.761 ERROR [GrailsExceptionResolver] null
[ant:exec] java.lang.NullPointerException
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.SingleDeltaTransitionPlan.addTransitionSteps(SingleDeltaTransitionPlan.java:429)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.SingleDeltaTransitionPlan.addTransition(SingleDeltaTransitionPlan.java:393)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.SingleDeltaTransitionPlan.processEntryStateMismatch(SingleDeltaTransitionPlan.java:365)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.SingleDeltaTransitionPlan.processEntryStateMismatch(SingleDeltaTransitionPlan.java:351)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.SingleDeltaTransitionPlan.processEntryDelta(SingleDeltaTransitionPlan.java:313)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.SingleDeltaTransitionPlan.computeTransitionsToFixDelta(SingleDeltaTransitionPlan.java:267)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.PlannerImpl.computeTransitionPlan(PlannerImpl.java:100)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.impl.PlannerImpl.computeTransitionPlan(PlannerImpl.java:112)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.computeDeploymentPlans(PlannerServiceImpl.groovy:158)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.this$2$computeDeploymentPlans(PlannerServiceImpl.groovy)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl$this$2$computeDeploymentPlans$1.callCurrent(Unknown Source)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl$this$2$computeDeploymentPlans$1.callCurrent(Unknown Source)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.computeDeploymentPlans(PlannerServiceImpl.groovy:130)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.this$2$computeDeploymentPlans(PlannerServiceImpl.groovy)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl$this$2$computeDeploymentPlans$0.callCurrent(Unknown Source)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl$this$2$computeDeploymentPlans$0.callCurrent(Unknown Source)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.computeDeploymentPlans(PlannerServiceImpl.groovy:92)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.this$2$computeDeploymentPlans(PlannerServiceImpl.groovy)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl$this$2$computeDeploymentPlans.callCurrent(Unknown Source)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.computeTransitionPlans(PlannerServiceImpl.groovy:206)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerService$computeTransitionPlans.callCurrent(Unknown Source)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerServiceImpl.computeTransitionPlan(PlannerServiceImpl.groovy:213)
[ant:exec]	at org.linkedin.glu.orchestration.engine.planner.PlannerService$computeTransitionPlan.call(Unknown Source)
[ant:exec]	at org.linkedin.glu.console.controllers.PlanController$_closure18.doCall(org.linkedin.glu.console.controllers.PlanController:373)
[ant:exec]	at org.linkedin.glu.console.controllers.PlanController$_closure18.doCall(org.linkedin.glu.console.controllers.PlanController)