java.lang.IllegalStateException: Invalid BundleContext. at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514) at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:473) at org.ops4j.pax.web.service.internal.Activator$DynamicsServiceTrackerCustomizer.removedService(Activator.java:364) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1006) org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [cxf-dosgi-ri-singlebundle-distribution] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.apache.geronimo.specs.geronimo-atinject_1.0_spec] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.lifecycle] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.framework] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.extender] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.core] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.base] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling SLF4J API support. at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:906) at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:352) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:949) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932) org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Jakarta Commons Logging API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Log4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling JULI Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.logging.pax-logging-api]

cxf-users | Tang Yong | 4 years ago
  1. 0

    Re: About DOSGI-152 status

    cxf-users | 4 years ago | Tang Yong
    java.lang.IllegalStateException: Invalid BundleContext. at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514) at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:473) at org.ops4j.pax.web.service.internal.Activator$DynamicsServiceTrackerCustomizer.removedService(Activator.java:364) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1006) org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [cxf-dosgi-ri-singlebundle-distribution] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.apache.geronimo.specs.geronimo-atinject_1.0_spec] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.lifecycle] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.framework] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.extender] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.core] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.base] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling SLF4J API support. at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:906) at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:352) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:949) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932) org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Jakarta Commons Logging API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Log4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling JULI Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.logging.pax-logging-api]
  2. 0

    OX AppSuite 7.8 Update: Auth Ldap doesn't work anymore

    open-xchange.com | 3 months ago
    java.lang.IllegalStateException: BundleContext is no longer valid at org.eclipse.osgi.internal.framework.BundleContextI mpl.checkValid(BundleContextImpl.java:983) at org.eclipse.osgi.internal.framework.BundleContextI mpl.ungetService(BundleContextImpl.java:659) at org.osgi.util.tracker.ServiceTracker.removedServic e(ServiceTracker.java:459) at com.openexchange.osgi.DeferredActivator$DeferredSe rviceTracker.removedService(DeferredActivator.java :196) at org.osgi.util.tracker.ServiceTracker$Tracked.custo mizerRemoved(ServiceTracker.java:967) at org.osgi.util.tracker.ServiceTracker$Tracked.custo mizerRemoved(ServiceTracker.java:1) at org.osgi.util.tracker.AbstractTracked.trackAdding( AbstractTracked.java:286) at org.osgi.util.tracker.AbstractTracked.track(Abstra ctTracked.java:229) at org.osgi.util.tracker.ServiceTracker$Tracked.servi ceChanged(ServiceTracker.java:901) at org.eclipse.osgi.internal.serviceregistry.Filtered ServiceListener.serviceChanged(FilteredServiceList ener.java:109) at org.eclipse.osgi.internal.framework.BundleContextI mpl.dispatchEvent(BundleContextImpl.java:914) at org.eclipse.osgi.framework.eventmgr.EventManager.d ispatchEvent(EventManager.java:230) at org.eclipse.osgi.framework.eventmgr.ListenerQueue. dispatchEventSynchronous(ListenerQueue.java:148) at org.eclipse.osgi.internal.serviceregistry.ServiceR egistry.publishServiceEventPrivileged(ServiceRegis try.java:862) at org.eclipse.osgi.internal.serviceregistry.ServiceR egistry.publishServiceEvent(ServiceRegistry.java:8 01) at org.eclipse.osgi.internal.serviceregistry.ServiceR egistrationImpl.register(ServiceRegistrationImpl.j ava:127) at org.eclipse.osgi.internal.serviceregistry.ServiceR egistry.registerService(ServiceRegistry.java:225) at org.eclipse.osgi.internal.framework.BundleContextI mpl.registerService(BundleContextImpl.java:464) at org.eclipse.osgi.internal.framework.BundleContextI mpl.registerService(BundleContextImpl.java:482) at org.eclipse.osgi.internal.framework.BundleContextI mpl.registerService(BundleContextImpl.java:998) at com.openexchange.osgi.HousekeepingActivator.regist erService(HousekeepingActivator.java:275) at com.openexchange.config.osgi.ConfigActivator.start Bundle(ConfigActivator.java:96) at com.openexchange.osgi.DeferredActivator.startUp(De ferredActivator.java:542) at com.openexchange.osgi.DeferredActivator.init(Defer redActivator.java:305) at com.openexchange.osgi.DeferredActivator.start(Defe rredActivator.java:514) at com.openexchange.osgi.HousekeepingActivator.start( HousekeepingActivator.java:202) at org.eclipse.osgi.internal.framework.BundleContextI mpl$3.run(BundleContextImpl.java:771) at org.eclipse.osgi.internal.framework.BundleContextI mpl$3.run(BundleContextImpl.java:1)
  3. 0

    Apache Felix - Users - Invalid BundleContext

    nabble.com | 6 months ago
    java.lang.IllegalStateException: Invalid BundleContext. at >> >> org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:453) at >> >> org.apache.felix.framework.BundleContextImpl.addServiceListener(BundleContextImpl.java:203) at >> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:263) at >> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:228) at >> >> org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:96) at >> org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:227) at >> org.apache.felix.scr.impl.Activator.loadAllComponents(Activator.java:193)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Apache Felix - Users - Invalid BundleContext

    nabble.com | 6 months ago
    java.lang.IllegalStateException: Invalid BundleContext. at >>> >>> org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:453) at >>> >>> org.apache.felix.framework.BundleContextImpl.addServiceListener(BundleContextImpl.java:203) at >>> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:263) at >>> org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:228) at >>> >>> org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:96) at >>> org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:227) at >>> org.apache.felix.scr.impl.Activator.loadAllComponents(Activator.java:193)
  6. 0

    Re: Felix autodeploy with several directories

    apache.org | 11 months ago
    java.lang.IllegalStateException: Invalid BundleContext.gosh: stopping framework at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:514) at org.apache.felix.framework.BundleContextImpl.getBundle(BundleContextImpl.java:173)

    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(BundleContextImpl.java:514) at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:473) at org.ops4j.pax.web.service.internal.Activator$DynamicsServiceTrackerCustomizer.removedService(Activator.java:364) at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:1006) org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [cxf-dosgi-ri-singlebundle-distribution] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.apache.geronimo.specs.geronimo-atinject_1.0_spec] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.lifecycle] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.framework] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.extender] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.swissbox.core] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.base] org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling SLF4J API support. at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:906) at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:352) at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:949) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932) org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Jakarta Commons Logging API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Log4J API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling Avalon Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.logging.internal.Activator] : Disabling JULI Logger API support. org.ops4j.pax.logging.pax-logging-api[org.ops4j.pax.swissbox.extender.BundleWatcher] : Releasing bundle [org.ops4j.pax.logging.pax-logging-api]

      at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately()
    2. Apache Felix Framework
      Felix$1.serviceChanged
      1. org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
      2. org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
      3. org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4260)
      4. org.apache.felix.framework.Felix.access$000(Felix.java:74)
      5. org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:390)
      5 frames