Summary: | TagPluginManager.init() throws NPE when used in Ant <jasper> task | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Sean Owen <srowen> |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aceofmoon |
Priority: | P2 | ||
Version: | 7.0.35 | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | All | ||
Attachments: | Patch for this issue |
Description
Sean Owen
2013-01-17 03:29:19 UTC
Created attachment 29860 [details]
Patch for this issue
The root cause is that there is no ClassLoader was set in JspCServletContext.
JspC holds the ClassLoader, but doesn't pass it to JspCServletContext.
Could you try this patch ?
Thank you, yes this patch appears to work. The <jasper> task succeeds, JSPX are compiled and then compile themselves, the app works. Looks good to me. Thanks all for the report, the patch and testing. That patch has been applied to trunk and will be included in 7.0.36 onwards. |