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

Interrupting Message Boundary Event on Subprocess broken

    • Icon: Bug Report Bug Report
    • Resolution: Cannot Reproduce
    • Icon: L3 - Default L3 - Default
    • 7.1.0, 7.1.0-alpha2
    • 7.1.0-alpha1
    • engine
    • None

      The Runtime.correlateMessage(msg) method throws an exception when the subscribed message is on a sub process boundary.

      To recreate, create a subprocess with a user task (or some other wait state) and add a boundary message event to the subprocess. Use a separate process to generate the message event via say runtime.correlateMessage(messageName). Using a script task, I get a null pointer exception. To confirm that its not the script task, if I put the boundary event on the user task, then correlation works as expected.

      I suspect the same applies to a boundary event on a transaction

        This is the controller panel for Smart Panels app

            [CAM-1690] Interrupting Message Boundary Event on Subprocess broken

            Hi Rob,

            thanks for reporting. We will take a look at this one in context of the 7.1 release.

            Are you able to provide a failing testcase for the problem?

            Cheers
            Robert

            Robert Gimbel added a comment - Hi Rob, thanks for reporting. We will take a look at this one in context of the 7.1 release. Are you able to provide a failing testcase for the problem? Cheers Robert

            Rob Parker added a comment -

            Resolved!

            Problem was a script task without a script language declared threw null pointer exception. Retested with test case and boundary event interrupt working as expected.

            Rob Parker added a comment - Resolved! Problem was a script task without a script language declared threw null pointer exception. Retested with test case and boundary event interrupt working as expected.

            great, thanks

            Robert Gimbel added a comment - great, thanks

              Unassigned Unassigned
              webcyberrob Rob Parker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: