Have a additional problem when attempting to call ctx.leaveNode() from the 
ExceptionHandler in the process above. The ctx.getSubProcessInstance() returns 
null, then throws followon exception.

Caused by: java.lang.NullPointerException
  |     at org.jbpm.graph.node.ProcessState.leave(ProcessState.java:197)
  |     at org.jbpm.graph.def.Node.leave(Node.java:357)
  |     at 
org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:120)
  |     at 
com.hp.ovcm.ope.nodes.StatusDetailExceptionHandler.executeImpl(StatusDetailExceptionHandler.java:23)
  |     at com.hp.ovcm.ope.nodes.Node.execute(Node.java:27)
  |     at org.jbpm.graph.def.Action.execute(Action.java:122)
  |     at 
org.jbpm.graph.def.ExceptionHandler.handleException(ExceptionHandler.java:60)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064823#4064823

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064823
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to