Details
-
Bug
-
Resolution: Won't Do
-
Trivial
-
None
-
7.21.0.Final
-
None
-
NEW
-
NEW
-
Description
If completionCondition is specified in the multiInstanceLoopCharacteristics for task (ex. Human Task) , the class ForEachNodeInstance cause NPE
The class ForEachNodeInstance manage the runtime check of the completionCondition.
if the completioinCondition is met at this line:
if (getNodeInstanceContainer().getNodeInstances().size() == 1 || isCompletionConditionMet) {
the code reach NPE because the local variable subprocessVariableScopeInstance is null if the ForEachNode is applied to task and not subprocess