Exception while evaluating expression

Aug 21, 2008 at 9:37 PM
Edited Aug 21, 2008 at 9:48 PM

We have been using FLEE for quite some time. Recently we encountered following exception on some expressions.

Any idea what could be the reason for this exception?

System.NotSupportedException: Illegal one-byte branch at position: 2624. Requested branch was: 138.
   at System.Reflection.Emit.ILGenerator.BakeByteArray()
   at System.Reflection.Emit.DynamicResolver..ctor(DynamicILGenerator ilGenerator)
   at System.Reflection.Emit.DynamicILGenerator.GetCallableMethod(Void* module)
   at System.Reflection.Emit.DynamicMethod.GetMethodDescriptor()
   at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType)
   at Ciloci.Flee.Expression`1.Compile(String expression, Object owner, ExpressionOptions options)
   at Ciloci.Flee.Expression`1..ctor(String expression, ExpressionContext context)
   at Ciloci.Flee.ExpressionFactory.CreateGeneric[T](String expression, ExpressionContext context)
   at Contextweb.Contextad.Libraries.ExpressionEvaluator.Expression.Evaluate(String strExpression, ExpEvalData objExpEvalData) in C:\SVN\Branches\Sprint7HotFix\Contextad\Libraries\ExpressionEvaluator\Expression.cs:line 307
   at Contextweb.Contextad.Libraries.ExpressionEvaluator.Expression.Evaluate(ExpEvalData objExpEvalData, String& strExpression, String& strKey) in C:\SVN\Branches\Sprint7HotFix\Contextad\Libraries\ExpressionEvaluator\Expression.cs:line 192

Coordinator
Nov 9, 2008 at 9:41 PM
If the expression was using nested IFs, then it should be fixed in 0.9.19.0