Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-3684

Save JobExecutorContext of ExclusiveJobAddedNotification on creation

XMLWordPrintable

      Problem:
      If the ExclusiveJobAddedNotification is invoked from another thread than the job executor thread from which it was created, it threw an NPE when attempting to access the JobExecutorContext from a Thread Local.

      Fix:
      Passing in the Job to the Listener fixes this problem.

      Note:
      This seems to happen on Jboss / EAP in distributed transactions with multiple two phase participants.

        This is the controller panel for Smart Panels app

              sebastian.menski Sebastian Menski
              sebastian.menski Sebastian Menski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: