This content has been marked as final.
Show 1 reply
-
1. Re: process-state exception handling
kevin.l.wilson Jul 17, 2007 1:48 AM (in response to kevin.l.wilson)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)