Details
-
Bug
-
Resolution: Done
-
Major
-
6.0.1
-
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.