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

DefaultJobRetryCmd is not null safe

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.8.0-alpha4
    • Fix Version/s: 7.8.0, 7.8.0-alpha5
    • Component/s: engine
    • Labels:
      None

      Description

      Steps to reproduce:

      1. create a process containing a task with asyncBefore = true
      2. start an instance of the process
      3. execute the job so that the job fails

      *Observed Behavior:
      In [1] a NullPointerException is thrown.

      Expected Behavior:
      The NullPointerException is not thrown.

      Hint:
      In [2] the NullPointerException is catched and the default retry strategy is executed.

      [1]: https://github.com/camunda/camunda-bpm-platform/blob/eb06f302a50aaa335d023a3c46b821f58ea68783/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/DefaultJobRetryCmd.java#L90-L98
      [2]: https://github.com/camunda/camunda-bpm-platform/blob/eb06f302a50aaa335d023a3c46b821f58ea68783/engine/src/main/java/org/camunda/bpm/engine/impl/cmd/DefaultJobRetryCmd.java#L62-L68

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            roman.smirnov Roman Smirnov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: