ProcessClassLoader throws NullPointerExcception when no current context is available
------------------------------------------------------------------------------------
Key: JBPM-2825
URL:
https://jira.jboss.org/jira/browse/JBPM-2825
Project: jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: jBPM 3.2.8
Reporter: Robert Schmelzer
Priority: Critical
In the implementation of getProcessDefinition it is assumed that
JbpmContext.getCurrentJbpmContext() will return a value. In complex class loading
environment we have situations where other libs (e.g. using discovery) a trying to
findResource on classes loaded by the ProcessClassLoader without having a current jbpm
context. As a result they are getting NullPointerExceptions which does not match the spec
for findResource.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira