Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8459

multiInstanceLoopCharacteristics in activities (workItems) cause NPE if output collection is not specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.22.0.Final
    • 7.21.0.Final
    • Runtime Engine
    • None
    • 3
    • NEW
    • NEW
    • Workaround Exists
    • Hide

      Set anything not empty in the target as output collection

      Show
      Set anything not empty in the target as output collection
    • Hide

      Simple bpmn2 with Start Node, Human Task and End Node.

      If HumanTask has multiInstanceLoopCharacteristics with Input Collection specified but no Output Collection, the server refuse to deploy bpmn2.

      Show
      Simple bpmn2 with Start Node, Human Task and End Node. If HumanTask has multiInstanceLoopCharacteristics with Input Collection specified but no Output Collection, the server refuse to deploy bpmn2.
    • 2019 Week 17-19

      The code managing multiInstanceLoopCharacteristics in TaskHandler.java:

      if ("multiInstanceLoopCharacteristics".equals(nodeName))
      ...

      cause the call to method adjustOutMapping of the workItemNode passing the forEachNode.getOutputCollectionExpression .

      If this is null the method cause NPE

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              paolo.cappuccini Paolo Cappuccini (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: