Details
-
Bug
-
Resolution: Done
-
Minor
-
7.29.0.Final
-
None
Description
Community issue:
This exception is thrown
Caused by: java.lang.IllegalArgumentException: Could not evaluate completion condition ($ in outputcollection if $.reasonCode == 'deny').size() > 0;
when using that MVEL expression (including access to data object) in multiinstance completion condition.
It seems like the root cause is this:
Caused by: java.lang.IllegalArgumentException: VariableScopes can only resolve variable names: null
Not sure if it can be solved at MVEL side, but at least JBPM can protect "resolveContext" method when receiving a null param, returning null instead of throwing the exception.
https://groups.google.com/forum/#!topic/jbpm-usage/Z4KuKX9q7b4