Hi all,
I discovered a strange behaviour of ExpressionReader actor, because the
value of _expressionEvaluator variable isn't removed between one
execution and another. So, if the past execution failed, the variable
value is setted to wrong value; in the next execution, the variable
value remains on wrong value even if right values has been introduced.
In this way, the evaluation of variable value, in method validate() of
Variable.java, failed before reading a new file row.
This problem will be resolved by adding the wrapup() method to
ExpressionReader.java class.
public void wrapup() throws IllegalActionException {
super.wrapup();
_expressionEvaluator.setExpression("");
}
So, the _expressionEvaluator value will be reset.
Thanks,
Adriana
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]