Index: SocketPermission.java =================================================================== --- SocketPermission.java (revision 431574) +++ SocketPermission.java (working copy) @@ -238,7 +238,7 @@ // tests if the action list of p is the subset of the one of the // receiver - if ((actionsMask & sp.actionsMask) != sp.actionsMask) + if (sp == null || (actionsMask & sp.actionsMask) != sp.actionsMask) return false; // only check the port range if the action string of the current object