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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to