-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
7.8.0-alpha4
-
None
Steps to reproduce:
- create a process containing a task with asyncBefore = true
- start an instance of the process
- 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