damien benoist | 5 Apr 18:38
Picon
Favicon

resolver problem

Hello,

With the folowing expression:

	getIntegerProperty("repHdrLen")-2

- When setting no resolver: compiles and evaluates
with no pb.

- When setting a resolver I get the following
Exception when compiling:

	gnu.jel.CompilationException: Dynamic variable cant
have the formal parameters.

I don't understand why setting a resolver changes the
behaviour with this expression.
Can someone explain this?

- keeping the resolver and setting the expression to:

	repHdrLen-2

I get the following Excetpion:

Caused by: java.lang.NullPointerException
        at gnu.jel.Library.describe(Unknown Source)
        at gnu.jel.Library.getMember(Unknown Source)
        at gnu.jel.Parser.functionCall(Unknown Source)
        at gnu.jel.Parser.genDVCall(Unknown Source)
        at gnu.jel.Parser.element(Unknown Source)
        at gnu.jel.Parser.unary(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.binOP(Unknown Source)
        at gnu.jel.Parser.conditional(Unknown Source)
        at gnu.jel.Parser.expression(Unknown Source)
        at gnu.jel.Parser.parse(Unknown Source)
        at gnu.jel.Evaluator.parse(Unknown Source)
        at gnu.jel.Evaluator.compileBits(Unknown
Source)
        at gnu.jel.Evaluator.compile(Unknown Source)
        at gnu.jel.Evaluator.compile(Unknown Source)
	my call to compiler

What am i doing wrong?

Thanks.

		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 

Gmane