java.lang.IllegalStateException: BundleContext is no longer valid

informatica.com | 3 months ago
  1. 0

    149465

    informatica.com | 3 months ago
    java.lang.IllegalStateException: BundleContext is no longer valid
  2. 0

    [Camel] "BundleContext is no longer valid" error after restarting/reinstalling Camel+Kura quickstart bundle

    GitHub | 8 months ago | hekonsek
    org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: seda://myapp:xmltopic due to: Cannot auto create component: seda
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    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

      BundleContext is no longer valid

      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid()
    2. Eclipse OSGi
      BundleContextImpl.getServiceReferences
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:931)
      2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.getServiceReferences(BundleContextImpl.java:498)
      2 frames
    3. org.eclipse.equinox
      SCRManager.serviceChanged
      1. org.eclipse.equinox.internal.ds.Reference.hasProviders(Reference.java:127)
      2. org.eclipse.equinox.internal.ds.Resolver.selectNewlyUnsatisfied(Resolver.java:600)
      3. org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:364)
      4. org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
      4 frames
    4. Eclipse OSGi
      FilteredServiceListener.serviceChanged
      1. org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
      1 frame
    5. Eclipse OSGi
      BundleContextImpl.dispatchEvent
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
      1 frame
    6. Eclipse OSGi
      ServiceRegistrationImpl.unregister
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
      3. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
      4. org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
      5. org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:225)
      5 frames
    7. org.eclipse.equinox
      Activator.stop
      1. org.eclipse.equinox.internal.cm.Activator.stop(Activator.java:57)
      1 frame
    8. Eclipse OSGi
      BundleContextImpl$2.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
      1 frame
    9. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    10. Eclipse OSGi
      InternalSystemBundle$1.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
      2. org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
      3. org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
      4. org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1207)
      5. org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
      6. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
      7. org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
      8. org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
      9. org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:693)
      10. org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
      11. org.eclipse.osgi.framework.internal.core.InternalSystemBundle$1.run(InternalSystemBundle.java:261)
      11 frames
    11. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame