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

DefaultJobRetryCmd is not null safe

    XMLWordPrintable

Details

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

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce