Hello, I'm attempting to use process-states and subprocesses in my definitions, but I'm encountering a problem during execution.
Here is the process-state spec from my process def document: <process-state name="SubProcessName"> | <sub-process name="SubProcessName"></sub-process> | </process-state> The subprocess is specified elsewhere, is loaded in the jbpm database, and runs fine on its own. When the superprocess hits this node in its graph, however, I'm getting this exception: Caused by: java.lang.NullPointerException | at org.jbpm.graph.def.Transition.fireSuperStateEnterEvents(Transition.java:103) | at org.jbpm.graph.def.Transition.take(Transition.java:82) | at org.jbpm.graph.def.Node.leave(Node.java:349) | at org.jbpm.graph.node.TaskNode.leave(TaskNode.java:167) | at org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke(<generated>) | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:137) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$430d7fc8.leave(<generated>) | at org.jbpm.graph.exe.Token.signal(Token.java:127) | at org.jbpm.graph.exe.Token.signal(Token.java:92) | at org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke(<generated>) | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:137) | at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$1ed5f17c.signal(<generated>) | at org.jbpm.webapp.bean.ProcessInstanceBean.signal(ProcessInstanceBean.java:271) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) I've been reading through the 3.0.2 source to try to find the cause of this, and am getting a little frustrated, so if anyone has ideas, I'd appreciate them. I'm using version 3.0.2 - the latest compiled release. Thanks! -Brian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920528#3920528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920528 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
