https://issues.apache.org/bugzilla/show_bug.cgi?id=37084
Konstantin Kolinko <knst.koli...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23074|0 |1 is obsolete| | --- Comment #12 from Konstantin Kolinko <knst.koli...@gmail.com> 2009-01-03 23:11:32 PST --- Created an attachment (id=23078) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23078) webapp that reproduces the issue when compiled by JspC To reproduce the issue: The following recipe is for Eclipse IDE project for TC 6.0. 1. In your project folder create the following subdirectory and two subdirectories in it: bug37084 /output /source 2. Unzip the war file into bug37084/source 3. Create the following Run configuration: type: Java Application Main class: org.apache.jasper.JspC Arguments / Program arguments: -uriroot bug37084\source -d bug37084\output 4. Run the application 5. A stacktrace is observed: 04.01.2009 10:06:30 org.apache.jasper.JspC processFile SEVERE: ERROR-the file '\index.jsp' generated the following general exception: java.lang.NullPointerException at sun.misc.URLClassPath$3.run(URLClassPath.java:323) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:320) at sun.misc.URLClassPath.getLoader(URLClassPath.java:297) at sun.misc.URLClassPath.getResource(URLClassPath.java:167) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) ... 6. Delete the generated files from bug37084/output ---------------------------------- The patch that I proposed above does not help. It just results in java.lang.ClassNotFoundException being thrown instead of the NPE. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- 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