Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Won't Fix
-
Affects Version/s: 5.9
-
Fix Version/s: None
-
Component/s: Engine
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
Attached Testcase fails with a StackOverflowError.
It consists solely of a Task (here a ScriptTask doing nothing) that is MultiInstance with a large cardinality.
It seems that BPMN Activities are interpreted recursively instead of sequencially.
I've also attached a possible solution (see class CustomCommandContext as a replacement for CommandContext), but I don't know if that implementation might have implications I'm not aware of (asynchronous continuation, transactions, etc).
Issue Links
- duplicates
-
ACT-685
Executing processes can cause StackOverflows
-
Hi Florian.
What is the real life use case for this? Would be good to know.
Cheers
Bernd