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 46084] New: JSTL EL "not" keyword not interpretedt correctly
Date Fri, 24 Oct 2008 18:42:38 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46084

           Summary: JSTL EL "not" keyword not interpretedt correctly
           Product: Tomcat 6
           Version: 6.0.18
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: vimilsaju@yahoo.com


Tomcat 6.0.18 fails to parse jsps contain the el expression ${not(b1)} where b1
is a boolean variable. I throws the following exception

rg.apache.jasper.JasperException: /search/searchPopup.jsp(217,102)
"${not(childCounterStatus.last) or isChildCountEven}" contains invalid
expression(s): javax.el.ELException: Function ':not' not found
        at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
        at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
        at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1151)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:840)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:840)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:840)
        at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:750)
        at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1228)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:517)
        at org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:566)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
        at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
        at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
        at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
        at org.apache.jasper.compiler.Validator.validate(Validator.java:1739)
        at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
        at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
        at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
        at
com.cwctravel.activity.http.HttpActivityManager.dispatchTarget(HttpActivityManager.java:134)
        at
com.cwctravel.activity.http.HttpActivityManager.processActivity(HttpActivityManager.java:54)
        at
com.cwctravel.activity.http.ActivityController.service(ActivityController.java:121)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
com.hypertechsolutions.ipm.controller.UtfFilter.doFilter(UtfFilter.java:46)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
com.hypertechsolutions.ipm.controller.GZIPFilter.doFilter(GZIPFilter.java:27)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
com.hypertechsolutions.ipm.controller.ThreadInitializerFilter.doFilter(ThreadInitializerFilter.java:26)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
        at java.lang.Thread.run(Unknown Source)

Tomcat 6.0.16 however compiles jsps containing the same el expression without
any error.


-- 
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