]
Kris Verlaenen resolved JBRULES-2460.
-------------------------------------
Resolution: Done
Already fixed in older commits
JPAWorkItemManager.internalAbortWorkItem fails with NPE
-------------------------------------------------------
Key: JBRULES-2460
URL:
https://jira.jboss.org/browse/JBRULES-2460
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-compiler (flow), drools-core (flow)
Affects Versions: 5.0.1.FINAL
Environment: Windows Vista 64-bit, Eclipse Galileo, Java 1.6.0_17
Reporter: hoogenbj
Assignee: Kris Verlaenen
Fix For: 5.1.0.M2
The NullPointerException occurs at line 63 of JPAWorkItemManager and can only be because
workItems is null at that point. Which I think is to be expected as an existing session
was loaded from the database in order to abort a process instance and the workItems
property is transient. There shouldn't even be a workItems property in this class. At
least the remove should be guarded with if (workItems != null) as it is done elsewhere in
the same class.
Regards,
Johan
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: