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

            Bug ID: 56561
           Summary: NoSuchElementException on empty attribute in
                    Validator$ValidateVisitor.getJspAttribute(Validator.ja
                    va:1385)
           Product: Tomcat 7
           Version: 7.0.54
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
          Assignee: dev@tomcat.apache.org
          Reporter: alex.panche...@gmail.com

root cause
java.util.NoSuchElementException
    java.util.ArrayList$Itr.next(ArrayList.java:834)
   
org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1385)
   
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:772)
    org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1251)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
    org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2429)
   
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:779)
    org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1251)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
    org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2429)
   
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:529)
    org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:564)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
    org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2429)
    org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2435)
    org.apache.jasper.compiler.Node$Root.accept(Node.java:474)
    org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
   
org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1841)
    org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:217)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
   
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
   
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
...

It fails on e.g. on the following line:
<body ui-view=""></body>

These changes happened in bug 56334.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to