help-jel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-jel] resolver problem


From: damien benoist
Subject: [Help-jel] resolver problem
Date: Tue, 5 Apr 2005 09:38:27 -0700 (PDT)

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 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]