tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10126] New: - NullPointerException when no uri defined in taglib directive
Date Fri, 21 Jun 2002 15:12:53 GMT
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=10126>.
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=10126

NullPointerException when no uri defined in taglib directive

           Summary: NullPointerException when no uri defined in taglib
                    directive
           Product: Tomcat 4
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: richard.frazer@haht.com


The following taglib directive causes an NPE in Jasper2 parser:

<%@ taglib prefix="f">

Here's the exception:

java.lang.NullPointerException


	at java.util.Hashtable.get(Hashtable.java:326)


	at
org.apache.jasper.compiler.TldLocationsCache.getLocation(TldLocationsCache.java:319)


	at
org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:441)


	at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:353)


	at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)


	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:790)


	at org.apache.jasper.compiler.Parser.parse(Parser.java:122)


	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)


	at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)


	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:228)


	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)


	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:478)


	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)


	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)


	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)


	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

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


Mime
View raw message