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

DefaultJobRetryCmd is not null safe

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.8.0, 7.8.0-alpha5
    • 7.8.0-alpha4
    • 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

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

                Created:
                Updated:
                Resolved: