Opened 10 years ago

Closed 10 years ago

#1879 closed defect (invalid)

Exception in expression builder dialog

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.3.3
Component: web Version:
Keywords: Cc:

Description

Just go to any formula, edit, and open expression builder:

java.util.NoSuchElementException
...at java.util.ArrayList$Itr.next(Unknown Source)
...at org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1385)
...at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1262)
...at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:876)
...at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
...at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
...at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2429)
...at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:895)

...at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
...at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
...at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2429)
...at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:895)
...at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
...at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
...at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2429)
...at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:895)
...at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1538)
...at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
...at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2429)
...at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2435)
...at org.apache.jasper.compiler.Node$Root.accept(Node.java:474)
...at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
...at org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1841)
...at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:217)
...at org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
...at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
...at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
...at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
...at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
...at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
...at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
...at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
...at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
...at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
...at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
...at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
...at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
...at net.sf.basedb.clients.web.servlet.ContentSecurityPolicyFilter.doFilter(ContentSecurityPolicyFilter.java:164)
...at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
...at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
...at net.sf.basedb.clients.web.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:69)
...at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
...at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
...at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
...at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
...at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
...at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
...at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
...at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
...at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
...at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
...at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
...at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
...at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2442)
...at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2431)
...at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
...at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
...at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
...at java.lang.Thread.run(Unknown Source)

Seems like the JSP can't be converted to Java code.

Change History (1)

comment:1 by Nicklas Nordborg, 10 years ago

Resolution: invalid
Status: newclosed

Seems to be a bug in Tomcat which has been resolved in 7.0.55 (among others). https://issues.apache.org/bugzilla/show_bug.cgi?id=56561

Note: See TracTickets for help on using tickets.