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 2010/10/21 01:38:22 UTC

DO NOT REPLY [Bug 50128] New: Potential NPI in PersistentMananagerBase

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

           Summary: Potential NPI in PersistentMananagerBase
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: sebb@apache.org


Created an attachment (id=26191)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26191)
Patch to fix problem

String [] ids = null;
...
code to set ids. 
However if the PrivilegedActionException is caught, ids is not set.
...
int n = ids.length;

Fixed by initialising to an empty array. However perhaps the bug is that the
code should not continue after PAE.

-- 
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 50128] Potential NPI in PersistentMananagerBase

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

Konstantin Kolinko <kn...@gmail.com> changed:

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

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2010-10-24 20:04:41 EDT ---
Already fixed in 7.0 by r1026784, will be in 7.0.5.

-- 
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 50128] Potential NPI in PersistentMananagerBase

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

--- Comment #2 from Konstantin Kolinko <kn...@gmail.com> 2010-10-28 19:44:40 EDT ---
Fixed in 6.0 by r1028547, will be in 6.0.30

-- 
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