java.lang.IllegalStateException: Invalid BundleContext.

cxf-users | Tang Yong | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: About DOSGI-152 status

    cxf-users | 4 years ago | Tang Yong
    java.lang.IllegalStateException: Invalid BundleContext.
  2. 0

    Re: About DOSGI-152 status

    cxf-users | 4 years ago | Tang Yong
    java.lang.IllegalStateException: Invalid BundleContext.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 6 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  5. 0

    issues in spring petclinic applicaiton

    Stack Overflow | 4 years ago | user2216702
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: Root WebApplicationCon text: startup date [Wed Mar 27 11:31:56 CDT 2013]; root of context hierarchy at org.springframework.context.support.AbstractApplic ationContext.getApp licationEventMulticaster(AbstractApplicationContex t.java:347) [spring-context-3. 2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.publis hEvent(AbstractApplicationContext.java:334) [spring-context-3.2.2.RELEASE.jar:3. 2.2.RELEASE] at org.springframework.context.support.AbstractApplic ationContext.doClos e(AbstractApplicationContext.java:1049) [spring-context-3.2.2.RELEASE.jar:3.2.2. RELEASE] at org.springframework.context.support.AbstractApplic ationContext.close( AbstractApplicationContext.java:1010) [spring-context-3.2.2.RELEASE.jar:3.2.2.RE LEASE] at org.springframework.web.context.ContextLoader.clos eWebApplicationCont ext(ContextLoader.java:558) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.springframework.web.context.ContextLoaderListe ner.contextDestroye d(ContextLoaderListener.java:143) [spring-web-3.2.2.RELEASE.jar:3.2.2.RELEASE] at org.apache.catalina.core.StandardContext.listenerS top(StandardContext .java:4831) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.StandardContext.stopInter nal(StandardContext .java:5478) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.stop(Lifecy cleBase.java:232) [ tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:160) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1559) [tomcat-embed-core-7.0.30.jar:7.0.30] at org.apache.catalina.core.ContainerBase$StartChild. call(ContainerBase. java:1549) [tomcat-embed-core-7.0.30.jar:7.0.30] at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:303) [n a:1.6.0_20] at java.util.concurrent.FutureTask.run(FutureTask.jav a:138) [na:1.6.0_20 ] at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExec utor.java:886) [na:1.6.0_20] at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor .java:908) [na:1.6.0_20]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Invalid BundleContext.

      at org.apache.felix.framework.BundleContextImpl.checkValidity()
    2. Apache Felix Framework
      BundleContextImpl.ungetService
      1. org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514)
      2. org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:473)
      2 frames
    3. OSGi
      ServiceTracker$Tracked.serviceChanged
      1. org.osgi.util.tracker.ServiceTracker.removedService(ServiceTracker.java:495)
      2. org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1006)
      3. org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:906)
      4. org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:352)
      5. org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:949)
      5 frames
    4. Apache Felix Framework
      ServiceRegistrationImpl.unregister
      1. org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
      3. org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
      4. org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
      5. org.apache.felix.framework.Felix.access$000(Felix.java:74)
      6. org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:390)
      7. org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:148)
      8. org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:127)
      8 frames
    5. OPS4J Pax Web - Runtime
      Activator$DynamicsServiceTrackerCustomizer.removedService
      1. org.ops4j.pax.web.service.internal.Activator$DynamicsServiceTrackerCustomizer.removedService(Activator.java:362)
      1 frame
    6. OSGi
      ServiceTracker$Tracked.serviceChanged
      1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1006)
      2. org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:906)
      3. org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:352)
      4. org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:949)
      4 frames
    7. Apache Felix Framework
      FrameworkStartLevelImpl.run
      1. org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
      2. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
      3. org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
      4. org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
      5. org.apache.felix.framework.Felix.access$000(Felix.java:74)
      6. org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:390)
      7. org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:148)
      8. org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:127)
      9. org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:191)
      10. org.apache.felix.framework.Felix.stopBundle(Felix.java:2386)
      11. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1214)
      12. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
      12 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame