https://issues.apache.org/bugzilla/show_bug.cgi?id=45511

           Summary: EL "empty" keyword does not work
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When using ${empty(xxx)}, EL parser thinks it is an unknown function :empty and
throws ClassCastException:

java.lang.ClassCastException: java.lang.NullPointerException
        at
org.apache.el.lang.ExpressionBuilder.prepare(ExpressionBuilder.java:135)
        at
org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:147)
        at
org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:190)
        at
org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
        at
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:924)


I think it is because of some changes in ELParser.java....

with best regards
Grzegorz Grzybek


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to