|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>|
|Attachments:||Patch against current trunk to add a null check to TagFileProcessor|
Description Larry Isaacs 2011-01-28 09:03:07 UTC
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.
Comment 1 Mark Thomas 2011-01-28 16:21:25 UTC
Many thanks for the patch. I have applied it to 7.0.x and it will be in 7.0.7 onwards.