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

DecrementJobRetries-Command throws NullPointerException when Job has been removed meanwhile

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4.x, 7.3.x, 7.2.x
    • Component/s: engine
    • Labels:

      Description

      When there is a race condition, e.g. in a receive task with timer boundary event, the transaction submitting the message may succeed and the timer job transaction may fail in parallel. In that case, the timer job execution tries to decrement the job's retries which ends in a NPE because the timer job does not exist anymore in the database.

      Affects both: DecrementJobRetriesCmd and FoxJobRetryCmd

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: