You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/01/28 15:03:14 UTC

DO NOT REPLY [Bug 50680] New: NPE in TagFileProcessor when tag file is in an expanded directory "jar"

https://issues.apache.org/bugzilla/show_bug.cgi?id=50680

           Summary: NPE in TagFileProcessor when tag file is in an
                    expanded directory "jar"
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: Larry.Isaacs@sas.com


Created an attachment (id=26570)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26570)
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.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 50680] NPE in TagFileProcessor when tag file is in an expanded directory "jar"

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50680

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-01-28 16:21:25 EST ---
Many thanks for the patch.

I have applied it to 7.0.x and it will be in 7.0.7 onwards.

-- 
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org