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=15863>. 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=15863 An NPE occurs in Jasper2's parser when the body of jsp:attribute is empty. Summary: An NPE occurs in Jasper2's parser when the body of jsp:attribute is empty. Product: Tomcat 5 Version: Nightly Build Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Jasper2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] According to the JSP 2.0 specicifcation, if the body of the jsp:attribute action is empty, it is the equivalent of specifying "" as the value of the attribute. When Jasper2 is provided such a scenario, an NPE occurs. Stacktrace below: <stacktrace> java.lang.NullPointerException at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:825) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1022) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1634) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:1676) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:1682) at org.apache.jasper.compiler.Node$Root.accept(Node.java:323) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:1634) at org.apache.jasper.compiler.Validator.validate(Validator.java:1167) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:260) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:427) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:571) </stacktrace> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>