[jboss-user] [JBoss jBPM] - Re: process-state exception handling

kevin.l.wilson do-not-reply at jboss.com
Tue Jul 17 01:48:03 EDT 2007


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



More information about the jboss-user mailing list