-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
7.13.0
-
None
Hi,
I've encountered the issue described here: https://forum.camunda.org/t/jobexecutorhealthindicator-health-check-failed-java-lang-nullpointerexception-null/16312
java.lang.NullPointerException: null
at java.base/java.util.HashSet.<init>(HashSet.java:119) ~[na:na]
at org.camunda.bpm.spring.boot.starter.actuator.JobExecutorHealthIndicator$Details.<init>(JobExecutorHealthIndicator.java:65) ~[camunda-bpm-spring-boot-starter-7.13.0.jar:7.13.0]
The cause seems to be that SpringJobExecutor gets injected into:
however we are using the DefaultJobExecutor in our process engine.
Reproducer code: https://github.com/andrejs-j/camunda-bpm-examples/pull/1/files
This is the controller panel for Smart Panels app
[CAM-11989] Null pointer exception in JobExecutorHealthIndicator
Description |
Original:
Hi,
I've encountered the issue described here: [https://forum.camunda.org/t/jobexecutorhealthindicator-health-check-failed-java-lang-nullpointerexception-null/16312] The cause seems to be that SpringJobExecutor gets injected into: [https://github.com/camunda/camunda-bpm-spring-boot-starter/blob/master/starter/src/main/java/org/camunda/bpm/spring/boot/starter/CamundaBpmActuatorConfiguration.java#L41] however we are using the DefaultJobExecutor in our process engine. |
New:
Hi,
I've encountered the issue described here: [https://forum.camunda.org/t/jobexecutorhealthindicator-health-check-failed-java-lang-nullpointerexception-null/16312] {code:java} java.lang.NullPointerException: null at java.base/java.util.HashSet.<init>(HashSet.java:119) ~[na:na] at org.camunda.bpm.spring.boot.starter.actuator.JobExecutorHealthIndicator$Details.<init>(JobExecutorHealthIndicator.java:65) ~[camunda-bpm-spring-boot-starter-7.13.0.jar:7.13.0] {code} The cause seems to be that SpringJobExecutor gets injected into: [https://github.com/camunda/camunda-bpm-spring-boot-starter/blob/master/starter/src/main/java/org/camunda/bpm/spring/boot/starter/CamundaBpmActuatorConfiguration.java#L41] however we are using the DefaultJobExecutor in our process engine. Reproducer code: [https://github.com/andrejs-j/camunda-bpm-examples/pull/1/files] |
Mentioned Roles |
Mentioned Groups |
Assignee | New: Thorben Lindhauer [ thorben.lindhauer ] |
Assignee | Original: Thorben Lindhauer [ thorben.lindhauer ] | New: Miklas Boskamp [ miklas.boskamp ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Mentioned Roles |
Mentioned Groups |
Mentioned Roles |
Mentioned Groups |
andrejs,
Thanks for raising this bug report. I was able to reproduce the bug via this test. I will investigate further.
Cheers,
Miklas