tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45511] New: EL "empty" keyword does not work
Date Thu, 31 Jul 2008 09:36:28 GMT
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: tomcat-dev@jakarta.apache.org
        ReportedBy: grzegorz.grzybek@winuel.com.pl


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message