[
https://jira.jboss.org/browse/JBPM-2825?page=com.atlassian.jira.plugin.sy...
]
Alejandro Guizar updated JBPM-2825:
-----------------------------------
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
Avoid throwing NPE from ProcessClassLoader when there is no current context.
ProcessClassLoader throws NullPointerExcception when no current
context is available
------------------------------------------------------------------------------------
Key: JBPM-2825
URL:
https://jira.jboss.org/browse/JBPM-2825
Project: jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Runtime Engine
Affects Versions: jBPM 3.2.8
Reporter: Robert Schmelzer
Assignee: Alejandro Guizar
Priority: Critical
Fix For: jBPM 3.2.10
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
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/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira