hi all,
does anyone know much about the FESI interpreter ??? i am getting an error while using this third party product (GTX) which is written in java and i cant work out whats wrong. FESI is built into this product which i am using so i dont know the details of how it interprets the script which i write.
error that gets thrown is :
[8/07/09 10:36:23:755 NZST] 133e76d ExceptionUtil E CNTR0020E: Non-application exception occurred while processing method "onInput" on bean "BeanId(GTX_Test#GTXEJB.jar#GTProcessEngineEJB , 1225754b587)". Exception data: java.lang.StackOverflowError
at com.gtnet.pk.ecmas.extensions.GTDecimalPrototype.g etDefaultValue(GTDecimalPrototype.java:287)
at FESI.Data.ESObject.getDefaultValue(ESObject.java:4 99)
at FESI.Data.ESObject.toESPrimitive(ESObject.java:667 )
at FESI.Interpreter.EcmaScriptEvaluateVisitor.equal(E cmaScriptEvaluateVisitor.java:310)
at FESI.Interpreter.EcmaScriptEvaluateVisitor.equal(E cmaScriptEvaluateVisitor.java:310)
this error gets thrown when i try and reference a field from a user defined object e.g if( dbObject.ID == 0)
but it works fine when :
var tmpID = dbObject.ID [B]+ 0[/B] ;
if(tmpID == 0) ......
any help to understand how/why the above works would be much appreciated.
ta.