[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2460) JPAWorkItemManager.internalAbortWorkItem fails with NPE
Kris Verlaenen (JIRA)
jira-events at lists.jboss.org
Wed May 19 09:39:06 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list