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

Null pointer exception in JobExecutorHealthIndicator

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • None
    • 7.13.0
    • spring-boot
    • None

    Description

      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:

      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

       

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                miklas.boskamp Miklas Boskamp
                andrejs Andrejs
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce