Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-2460

JPAWorkItemManager.internalAbortWorkItem fails with NPE

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Activity

          People

            kverlaen@redhat.com Kris Verlaenen
            hoogenbj_jira Johan Hoogenboezem (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty