The equations are executed in parallel by use of the CLI class. The parsing process employs the global session object and overwrites on each function call the current value in the session.
This is problematic for parallel execution since there current values can be overwritten by another equation. This leads to wrong results and sometimes to WrongArgumentTypesException being thrown.
The solution is to make each equation have its own isolated session.
The equations are executed in parallel by use of the CLI class. The parsing process employs the global session object and overwrites on each function call the
currentvalue in the session.This is problematic for parallel execution since there
currentvalues can be overwritten by another equation. This leads to wrong results and sometimes toWrongArgumentTypesExceptionbeing thrown.The solution is to make each equation have its own isolated session.