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

    IllegalStateException in ConsoleSession on shutdown

    Eclipse Bugzilla | 7 years ago | gunnar
    java.lang.IllegalStateException: The service has been unregistered at o.e..osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:209) at o.e..osgi.framework.console.ConsoleSession.close(ConsoleSession.java:44) at o.e..osgi.framework.internal.core.FrameworkConsole.shutdown(FrameworkConsole.java:207) at o.e..osgi.framework.internal.core.ConsoleManager.removedService(ConsoleManager.java:192)

    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. OPS4J Pax Web - Runtime
      Activator$DynamicsServiceTrackerCustomizer.removedService
      1. org.ops4j.pax.web.service.internal.Activator$DynamicsServiceTrackerCustomizer.removedService(Activator.java:364)
      1 frame
    4. OSGi
      ServiceTracker$Tracked.customizerRemoved
      1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1006)
      1 frame