Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-3685

NPE when sub-process handles an error code exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.2
    • 6.0.1
    • jBPM Core
    • None

    Description

      Description of problem:
      In the attached Maven project, an NPE is thrown after the sub-process successfully handles an exception thrown by the main process.

      Version-Release number of selected component (if applicable):
      6.0.1.ER2

      How reproducible:
      every time

      Steps to Reproduce:
      1. unzip the Maven project
      2. mvn clean test
      3.

      Actual results:
      the second test will fail because an exception is thrown

      Expected results:
      test should pass with outcome = 90277

      Additional info:
      In debugging, it appears the Action after the sub-process end event is null.
      Maciej discovered it is caused by empty script tags within the event sub-process, which are not supported but should be.

      Another issue is with the setting the outcome when aborting the process instance from within an event in the subprocess, that does not happen as the outcome is set only by fault node which is error end event. It is desirable to have the outcome set to the error code processed.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            jimrigsbee_jira Jim Rigsbee (Inactive)
            Jiri Svitak Jiri Svitak (Inactive)
            Jiri Svitak Jiri Svitak (Inactive)
            Kris Verlaenen, Maciej Swiderski (Inactive), Marek Baluch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: