[GLASSFISH-15622] Recursive calls by Felix when SecurityManager is on slows down GlassFish startup Created: 19/Jan/11  Updated: 17/Jan/12

Status: Open
Project: glassfish
Component/s: OSGi
Affects Version/s: 3.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Nithya Ramakrishnan Assignee: Richard S. Hall
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: 3_1-exclude, 3_1_1-scrubbed, 3_1_2-exclude

 Description   

When Security Manager is on, it is observed that the getClassLoader() call during GF startup goes into a mutual recursion that seems never-ending. These stack dumps can be observed when java.security.debug=all is set as a jvm-option. It appears that JDK is truncating the calls after a few recursions ?.

The getClassLoader() call results in a Runtime Permission check for a permission called "getClassLoader". And this permission check is triggering the mutual recursion between java.lang.Class.getClassLoader() and org.apache.felix.framework.URLHandlers.getFrameworkFromContext.

Since the java.security.debug=all or access:stack options are showing these calls, we believe that it must be happening even when the debug property is not set. And that if this recursive calls issue is fixed, then it can significantly improve GlassFish starup performance when SecurityManager is on.

Here is a sample stack dump:

policy: evaluation (codesource) failed
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1223)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:291)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:607)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:607)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:299)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.Class.getClassLoader(Class.java:611)
at org.apache.felix.framework.URLHandlers.getFrameworkFromContext(URLHandlers.java:605)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.getStreamHandlerService(URLHandlersStreamHandlerProxy.java:572)
at org.apache.felix.framework.URLHandlersStreamHandlerProxy.toExternalForm(URLHandlersStreamHandlerProxy.java:472)
at java.net.URL.toExternalForm(URL.java:919)
at java.net.URL.toString(URL.java:905)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at java.security.CodeSource.toString(CodeSource.java:461)
at java.lang.String.valueOf(String.java:2838)
at java.lang.StringBuilder.append(StringBuilder.java:132)
at sun.security.provider.PolicyFile.addPermissions(PolicyFile.java:1318)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1281)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1247)
at sun.security.provider.PolicyFile.getPermissions(PolicyFile.java:1188)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:331)
at java.security.ProtectionDomain$1.run(ProtectionDomain.java:328)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain.mergePermissions(ProtectionDomain.java:326)
at java.security.ProtectionDomain.toString(ProtectionDomain.java:271)



 Comments   
Comment by kumarjayanti [ 20/Jan/11 ]

when the java.security.debug property is set to all and SecurityManager is ON, we see that GF startup takes a very very long time, infact we need to establish if GF starts ever or not by letting it run for as long as it takes.

IOW it is not clear if these stacktraces are a side-effect of enabling java.security.debug=all, though in theory it should not be a side-effect.

Comment by pauls [ 20/Jan/11 ]

The stacktrace is a side-effect of enabling java.security.debug=all.

The problem is that in that case the security subsystem does toString the codesources of the protection domains. That calls back into the urlhandlers which in turn trigger a security check while processing the request and there we go. The thing is that we actually catch the resulting exception and do the right thing eventually (so it should still work fine in the end) but for that the exception has to happen first which takes a while.

I think i can fix it but its somewhat hard for me to reproduce this quickly as i don't have a working gf around. If I attach a patched felix.jar to this issue could you see whether it fixes your problem?

Generated at Sat May 30 14:03:23 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.