-
1. Re: Simple process not ending.
hosierdm Jan 2, 2007 10:07 PM (in response to srsuarez)Make sure you are leaving the node in your action code. You should have something like executionContext.leaveNode() at the end of your action code.
-
2. Re: Simple process not ending.
srsuarez Jan 3, 2007 7:04 AM (in response to srsuarez)Thanks for your reply, now I use 'ExecutionContext.leaveNode' at the end of the action, but i have the following error:
java.lang.NullPointerException
at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:128)
at org.jbpm.pruebasTutorial.MyActionHandler.execute(MyActionHandler.java:44)
at org.jbpm.graph.def.Action.execute(Action.java:123)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
at org.jbpm.graph.def.Transition.take(Transition.java:106)
[...]
Do you know the cause of this error?
Thanks in advance -
3. Re: Simple process not ending.
hosierdm Jan 3, 2007 9:33 AM (in response to srsuarez)You should post the code to your ActionHandler.