tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Heinen <michael.hei...@recommind.com>
Subject JasperException in 6.0.24 with JSF tag
Date Tue, 26 Jan 2010 17:26:39 GMT
Hi,

I recently updated from Tomcat 6.0.20 to 6.0.24.
Now some jsps with jsf tags are not compiling anymore.

Following tag results in a JasperException in 6.0.24 but compiles fine with older versions:

<h:outputText value="\\">

Stack:
Caused by: org.apache.jasper.JasperException: /pages/preferences.jsp(147,100) According to
TLD or attribute directive in tag file, attribute value does not accept any expressions
                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:148)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1165)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:852)
                at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:871)
                at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:871)
                at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:871)
                at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:871)
                at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:871)
                at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
                at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:871)
                at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
                at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
                at org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
                at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
                at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1775)
                at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:183)
                at org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
                at org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
                at org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
                at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
                at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
                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:646)
                at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
                at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
                at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:968)
                at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:650)
                at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:644)
                at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:80)
                ... 67 more


Question:
Should I file a bug for this or is this expected behavior?

Michael

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message