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

Service Task with OutputParams will crash process

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • None
    • None

    Description

      Not sure if bug or by design. If the former, it appears to be a very simple fix. 

       

      Steps to Repro: 

       

      1. Create a Service Task Process. 
      2. On the process specify an OutputParam (string or expression) of 'Hello'
      3. Start the process. 

       

      Expected: 

      No incidents. 

       

      Actual:

      Null pointer exception on `org.camunda.bpm.engine.impl.core.variable.mapping.OutputParameter`, line 52. 

       

      outerScope.setVariable(name, value);

      ^-- it appears that the outscope is null, and could be wrapped in an if guard. 

       

      Work-around: (Not suitable for our case)

      **Add an outgoing flow from the service task to an end step (or any other task, condition, etc). 

      This is not suitable for us, as our tool depends on testing processes dynamically. 

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                thorben.lindhauer Thorben Lindhauer
                jasperblues Jasper Blues
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Salesforce