java.lang.IllegalStateException

BundleContext is no longer valid

Solutions on the web10583

  • via Eclipse Bugzilla by martin.oberhuber, 1 year ago
    BundleContext is no longer valid
  • via Eclipse Bugzilla by milesg78, 1 year ago
    BundleContext is no longer valid
  • BundleContext is no longer valid
  • Stack trace

    • java.lang.IllegalStateException: BundleContext is no longer valid at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:1003) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getBundle(BundleContextImpl.java:151) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.getBundle(StandardWebContainer.java:159) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.constructServletContextProperties(StandardWebContainer.java:164) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.publishServletContext(StandardWebContainer.java:150) at com.springsource.osgi.webcontainer.internal.StandardWebContainer$StandardWebApplication.start(StandardWebContainer.java:117) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:130) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:215) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:281) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:278) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:231) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago