DefaultJobRetryCmd is not null safe

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: