Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via openhab.org by Unknown author, 1 year ago
via Eclipse Bugzilla by tjwatson, 1 year ago
via gmane.org by Unknown author, 2 years ago
BundleContext is no longer valid
via GitHub by pkriens
, 1 year ago
BundleContext is no longer valid
via GitHub by eliasvasylenko
, 1 year ago
BundleContext is no longer valid
java.lang.IllegalStateException: BundleContext is no longer valid	at org.eclipse.osgi.internal.framework.BundleContextImpl.checkValid(BundleContextImpl.java:983)	at org.eclipse.osgi.internal.framework.BundleContextImpl.ungetService(BundleContextImpl.java:659)	at org.osgi.util.tracker.ServiceTracker.removedService(ServiceTracker.java:459)	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:967)	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:870)	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)	at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:377)	at org.apache.felix.scr.impl.BundleComponentActivator.dispose(BundleComponentActivator.java:549)	at org.apache.felix.scr.impl.Activator.disposeComponents(Activator.java:414)	at org.apache.felix.scr.impl.Activator.access$300(Activator.java:53)	at org.apache.felix.scr.impl.Activator$ScrExtension.destroy(Activator.java:273)	at org.apache.felix.utils.extender.AbstractExtender$2.run(AbstractExtender.java:290)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at org.apache.felix.utils.extender.AbstractExtender.destroyExtension(AbstractExtender.java:312)	at org.apache.felix.utils.extender.AbstractExtender.bundleChanged(AbstractExtender.java:186)	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)	at org.eclipse.osgi.container.ModuleContainer.update(ModuleContainer.java:342)	at org.eclipse.osgi.storage.Storage.update(Storage.java:713)	at org.eclipse.osgi.internal.framework.EquinoxBundle.update(EquinoxBundle.java:439)	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.updateBundle(FeaturesServiceImpl.java:1185)	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:688)	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)	at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)