[jboss-jira] [JBoss JIRA] Created: (JBRULES-2460) JPAWorkItemManager.internalAbortWorkItem fails with NPE

hoogenbj (JIRA) jira-events at lists.jboss.org
Thu Mar 25 04:55:38 EDT 2010


JPAWorkItemManager.internalAbortWorkItem fails with NPE
-------------------------------------------------------

                 Key: JBRULES-2460
                 URL: https://jira.jboss.org/jira/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: Mark Proctor


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/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list