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.
Already fixed in 7.0 by r1026784, will be in 7.0.5.
Fixed in 6.0 by r1028547, will be in 6.0.30