You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/02/26 00:25:15 UTC

DO NOT REPLY [Bug 17403] New: - NegativeArraySizeException generated when jsp:element action is missing the 'name' attribute.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17403>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17403

NegativeArraySizeException generated when jsp:element action is missing the 'name' attribute.

           Summary: NegativeArraySizeException generated when jsp:element
                    action is missing the 'name' attribute.
           Product: Tomcat 5
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: Ryan.Lubke@Sun.COM


Previously a meaningful error message was generated when jsp:element was used
without the name attribute.

Now when the same JSP is run through a build from cvs HEAD, the following
stacktrace is generated:

<stacktrace>
[java] </pre></p><p><b>root cause</b> <pre>java.lang.NegativeArraySizeException
     [java]     at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:901)
     [java]     at org.apache.jasper.compiler.Node$JspElement.accept(Node.java:1067)
     [java]     at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1918)
     [java]     at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1960)
     [java]     at
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:670)
     [java]     at
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1045)
     [java]     at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1918)
     [java]     at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1960)
     [java]     at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1966)
     [java]     at org.apache.jasper.compiler.Node$Root.accept(Node.java:416)
     [java]     at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1918)
     [java]     at
org.apache.jasper.compiler.Validator.validate(Validator.java:1211)
     [java]     at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:253)
</stacktrace>

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