I am trying to test a Process definition with process state (subprocess).

The execution enters the subprocess but fails in the sub process ..Any clues ..



ibernate: select variableac0_.SCRIPT_ as SCRIPT8_1_, variableac0_.ID_ as 
ID1_1_, variableac0_.ID_ as ID1_12_0_, variableac0_.VARIABLENAME_ as 
VARIABLE2_12_0_, variableac0_.ACCESS_ as ACCESS3_12_0_, 
variableac0_.MAPPEDNAME_ as MAPPEDNAME4_12_0_ from JBPM_VARIABLEACCESS 
variableac0_ where variableac0_.SCRIPT_=?
java.lang.NullPointerException
        at org.jbpm.graph.node.ProcessState.leave(ProcessState.java:165)
        at org.jbpm.graph.exe.Token.signal(Token.java:174)
        at org.jbpm.graph.exe.Token.signal(Token.java:123)
        at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
        at com.test.ProcessStateTest.testSimpleProcess(ProcessStateTest.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933728


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to