[ 
https://issues.apache.org/jira/browse/DOSGI-29?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christian Schneider closed DOSGI-29.
------------------------------------

    
> Exception when stopping DOSGi bundle
> ------------------------------------
>
>                 Key: DOSGI-29
>                 URL: https://issues.apache.org/jira/browse/DOSGI-29
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: 1.2
>
>
> When I shut down the DOSGi bundle, the following exception happens. This 
> happens with the Single Bundle Distribution
> java.lang.IllegalStateException: Invalid BundleContext.
>         at 
> org.apache.felix.framework.BundleContextImpl.checkValidity(BundleCont
> extImpl.java:393)
>         at 
> org.apache.felix.framework.BundleContextImpl.ungetService(BundleConte
> xtImpl.java:362)
>         at 
> org.osgi.util.tracker.ServiceTracker.removedService(ServiceTracker.ja
> va:429)
>         at 
> org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService$1.removedS
> ervice(LocalDiscoveryService.java:133)
>         at 
> org.osgi.util.tracker.ServiceTracker$Tracked.untrack(ServiceTracker.j
> ava:1126)
>         at 
> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTr
> acker.java:957)
>         at 
> org.apache.felix.framework.util.EventDispatcher.invokeServiceListener
> Callback(EventDispatcher.java:820)
>         at 
> org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(
> EventDispatcher.java:678)
>         at 
> org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(Even
> tDispatcher.java:609)
>         at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3640)
>         at org.apache.felix.framework.Felix.access$200(Felix.java:38)
>         at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:841)
>         at 
> org.apache.felix.framework.ServiceRegistry.fireServiceChanged(Service
> Registry.java:568)
>         at 
> org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceR
> egistry.java:105)
>         at 
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(Service
> RegistrationImpl.java:118)
>         at 
> org.apache.felix.framework.ServiceRegistry.unregisterServices(Service
> Registry.java:144)
>         at org.apache.felix.framework.Felix._stopBundle(Felix.java:2105)
>         at org.apache.felix.framework.Felix.stopBundle(Felix.java:2034)
>         at 
> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:11
> 97)
>         at 
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265
> )
>         at java.lang.Thread.run(Thread.java:595)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to