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

Cryptic NullPointerException when ending Sub Process with output parameters, but no outgoing arrows

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.11.0, 7.12.0
    • None
    • None
    • Windows 10 64bit
      Camunda Modeller: 3.1.2 Windows x64
      Camunda BPM Tomcat 7.11.0

      Given:
      Any BPMN process with a Sub Process with output parameters, but no outgoing arrows.

      When:
      The process is started.

      Then:
      The engine throws an exception:

      Runtime result:
      05-Jul-2019 12:30:55.904 SEVERE [http-nio-8080-exec-7] org.camunda.commons.logging.BaseLogger.logError ENGINE-16004 Exception while closing command context: null
       java.lang.NullPointerException
              at org.camunda.bpm.engine.impl.core.variable.mapping.OutputParameter.execute(OutputParameter.java:52)
              at org.camunda.bpm.engine.impl.core.variable.mapping.IoParameter.execute(IoParameter.java:51)
              at org.camunda.bpm.engine.impl.core.variable.mapping.IoMapping.executeOutputParameters(IoMapping.java:45)
              at org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.destroy(ExecutionEntity.java:531)
              at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationProcessEnd.eventNotificationsCompleted(PvmAtomicOperationProcessEnd.java:83)
              at org.camunda.bpm.engine.impl.pvm.runtime.operation.PvmAtomicOperationProcessEnd.eventNotificationsCompleted(PvmAtomicOperationProcessEnd.java:33)
              at org.camunda.bpm.engine.impl.core.operation.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:66)
      (...)
      

      Expected:

      The output parameters are executed without throwing an exception.

      Note:

      • Attached are full logs and an example process.
      • In the case of no output parameters, it works fine, without an exception.

        This is the controller panel for Smart Panels app

              thorben.lindhauer Thorben Lindhauer
              bramvonk Bram Vonk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: