Summary: | NPE in TagFileProcessor when tag file is in an expanded directory "jar" | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Larry Isaacs <Larry.Isaacs> |
Component: | Jasper | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | Patch against current trunk to add a null check to TagFileProcessor |
Many thanks for the patch. I have applied it to 7.0.x and it will be in 7.0.7 onwards. |
Created attachment 26570 [details] Patch against current trunk to add a null check to TagFileProcessor When using VirtualDirContext, or the equivalent in the Web Tools Tomcat support, an expanded directory can be used in place of a jar file. In this case, tag files in the directory's META-INF folder will result in an NPE because the jarResource obtained from the TldLocation is null.