felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FELIX-5384) EventDispatcher#createWhitelistFromHooks fails under security
Date Thu, 20 Oct 2016 09:26:58 GMT

    [ https://issues.apache.org/jira/browse/FELIX-5384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15591321#comment-15591321
] 

Guillaume Nodet commented on FELIX-5384:
----------------------------------------

Right, there are a bunch of those.

> EventDispatcher#createWhitelistFromHooks fails under security
> -------------------------------------------------------------
>
>                 Key: FELIX-5384
>                 URL: https://issues.apache.org/jira/browse/FELIX-5384
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: framework-5.6.0
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: framework-5.8.0
>
>
> {code}
> 	Caused by: java.security.AccessControlException: access denied ("org.osgi.framework.AdminPermission"
"(id=0)" "context")
> 		at java.security.AccessControlContext.checkPermission(java.base@9-ea/AccessControlContext.java:468)
~[?:?]
> 		at java.security.AccessController.checkPermission(java.base@9-ea/AccessController.java:894)
~[?:?]
> 		at java.lang.SecurityManager.checkPermission(java.base@9-ea/SecurityManager.java:548)
~[?:?]
> 		at org.apache.felix.framework.BundleImpl.getBundleContext(BundleImpl.java:243) ~[?:?]
> 		at org.apache.felix.framework.Felix.getBundleContext(Felix.java:106) ~[?:?]
> 		at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:684)
~[?:?]
> 		at org.apache.felix.framework.util.EventDispatcher.filterListenersUsingHooks(EventDispatcher.java:560)
~[?:?]
> 		at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
~[?:?]
> 		at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4558) ~[?:?]
> 		at org.apache.felix.framework.Felix.registerService(Felix.java:3550) ~[?:?]
> 		at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:348)
~[?:?]
> 		at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:322)
~[?:?]
> 		at org.apache.felix.cm.impl.ConfigurationManager.start(ConfigurationManager.java:250)
~[?:?]
> 		at org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1709)
~[?:?]
> 		at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method) ~[?:?]
> 		at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:688)
~[?:?]
> 		at org.apache.felix.framework.Felix.activateBundle(Felix.java:2227) ~[?:?]
> 		at org.apache.felix.framework.Felix.startBundle(Felix.java:2145) ~[?:?]
> 		at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?]
> 		at org.apache.karaf.bundle.command.Restart.doExecute(Restart.java:51) ~[?:?]
> 		... 14 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message