[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-545) Uninstalling last user bundle may stop Framework.INIT service

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Thu Apr 19 09:29:17 EDT 2012


    [ https://issues.jboss.org/browse/JBOSGI-545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12685690#comment-12685690 ] 

Thomas Diesler commented on JBOSGI-545:
---------------------------------------

This is likely a conceptual flaw. PERSISTENT_BUNDLES_HANDLER_COMPLETE has a dependency on all persistent bundle INSTALL services. If one of them gets removed, the PERSISTENT_BUNDLES_HANDLER goes down, which FRAMEWORK_INIT depends on. 

Framework dependencies on bundle service won't work - consider using listeners.
                
> Uninstalling last user bundle may stop Framework.INIT service
> -------------------------------------------------------------
>
>                 Key: JBOSGI-545
>                 URL: https://issues.jboss.org/browse/JBOSGI-545
>             Project: JBoss OSGi
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Core Framework
>    Affects Versions: JBossOSGi 1.1.0
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>             Fix For: JBossOSGi 1.2.0
>
>
> This leaves the Framework in an inconsistent state and may lead to 
> {code}
> java.lang.NullPointerException
> 	at org.jboss.osgi.framework.internal.FrameworkProxy.stopInternal(FrameworkProxy.java:228)
> 	at org.jboss.osgi.framework.internal.FrameworkProxy.stop(FrameworkProxy.java:216)
> 	at org.jboss.osgi.framework.internal.FrameworkProxy.stop(FrameworkProxy.java:196)
> 	at org.jboss.test.osgi.framework.launch.PersistentBundlesTestCase.testInstalledBundle(PersistentBundlesTestCase.java:109)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list