Summary: | Potential NPI in PersistentMananagerBase | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Sebb <sebb> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | Patch to fix problem |
Already fixed in 7.0 by r1026784, will be in 7.0.5. |
Created attachment 26191 [details] 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.