[Bug 55995] java.lang.NullPointerException at org.apache.jasper.servlet.JspCServletContext.getResource(JspCServletContext.java:344)
https://issues.apache.org/bugzilla/show_bug.cgi?id=55995 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|--- |FIXED --- Comment #4 from Mark Thomas ma...@apache.org --- Thanks for the test case. The bit I was missing as explicitly putting the JARs containing TLDs on the class path. This has been fixed in 8.0.x and will be included in 8.0.0 onwards. -- 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
[Bug 55995] java.lang.NullPointerException at org.apache.jasper.servlet.JspCServletContext.getResource(JspCServletContext.java:344)
https://issues.apache.org/bugzilla/show_bug.cgi?id=55995 --- Comment #5 from Peter Lenahan peter_lena...@ibi.com --- Konstantin, Mark, Thank you both for reproducing the problem in a better way and fixing it so fast. Peter -- 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
[Bug 55995] java.lang.NullPointerException at org.apache.jasper.servlet.JspCServletContext.getResource(JspCServletContext.java:344)
https://issues.apache.org/bugzilla/show_bug.cgi?id=55995 Mark Thomas ma...@apache.org changed: What|Removed |Added Severity|critical|normal --- Comment #2 from Mark Thomas ma...@apache.org --- Drop severity to a realistic level. It isn't functionality used by most users and in at least some cases JspC still works. -- 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
[Bug 55995] java.lang.NullPointerException at org.apache.jasper.servlet.JspCServletContext.getResource(JspCServletContext.java:344)
https://issues.apache.org/bugzilla/show_bug.cgi?id=55995 Mark Thomas ma...@apache.org changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Mark Thomas ma...@apache.org --- I can't reproduce this with the latest 8.0.x source. Neither do I see anything in the change history since RC10 that looks like it would have fixed this. Without the JSP source it is hard to see what might be triggering this. Please provide the simplest possible JSP that demonstrates this issue along with any additional files (tags etc) that may be required to reproduce it. -- 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
[Bug 55995] java.lang.NullPointerException at org.apache.jasper.servlet.JspCServletContext.getResource(JspCServletContext.java:344)
https://issues.apache.org/bugzilla/show_bug.cgi?id=55995 --- Comment #3 from Konstantin Kolinko knst.koli...@gmail.com --- Created attachment 31203 -- https://issues.apache.org/bugzilla/attachment.cgi?id=31203action=edit jspc_55995_test.bat I can reproduce this NPE with 8.0-RC10 and with trunk. See the attached Windows batch file. Essentially, it uses Tomcat's bin/cpappend.bat to reproduce classpath from Comment 0. That is 1. ant.jar 2. all jars from %CATALINA_HOME%\bin and %CATALINA_HOME%\lib 3. libs from the examples webapp (the JSTL jars) Then it tries to compile examples\jsp\tagplugin\choose.jsp. This results in the same NullPointerException, as reported by OP. Exception in thread main java.lang.NullPointerException at org.apache.jasper.servlet.JspCServletContext.getResource(JspCServletContext.java:344) at org.apache.jasper.compiler.TldCache.getLastModified(TldCache.java:124) at org.apache.jasper.compiler.TldCache.init(TldCache.java:70) at org.apache.jasper.JspC.initServletContext(JspC.java:1468) at org.apache.jasper.JspC.execute(JspC.java:1321) at org.apache.jasper.JspC.main(JspC.java:269) 4. If I comment-out the line that adds JSTL jars to the classpath, JspC completes successfully and generates Java source text for the page. Note, that the JSTL tag library in the WEB-INF/lib directory of the web application is successfully recognized and processed by JspC. -- 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