]
Thomas Diesler updated JBPM-1164:
---------------------------------
Fix Version/s: jBPM 3.3.2 GA
(was: jBPM 3.3.x)
Assignee: Thomas Diesler
Null Pointer Exception is thrown when subprocess is leave event is
fired.
-------------------------------------------------------------------------
Key: JBPM-1164
URL:
https://jira.jboss.org/jira/browse/JBPM-1164
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.2.2
Environment: Windows XP Pro, Sun JDK 1.5.0_13
Reporter: Gurpreet Sahota
Assignee: Thomas Diesler
Fix For: jBPM 3.3.2 GA
I have a process flow where process (A) calls a process state that in turn calls
subprocess (B). When Subprocess "end" state is signalled then I receive a Null
Pointer Exception.
Following is stack trace
java.lang.NullPointerException
at org.jbpm.graph.node.ProcessState.leave(ProcessState.java:204)
at org.jbpm.graph.exe.Token.signal(Token.java:195)
at org.jbpm.graph.exe.Token.signal(Token.java:140)
When debugging, it turns out that "leave" method in ProcessState tries to
retrieve subProcessInstance from execution context. This is set to null causing exception.
If executionContext.getToken() is used to retrieve the subProcessInstance, then it is not
null.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: