Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6621

Regressions caused by FELIX-6607

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • webconsole-4.8.10
    • webconsole-4.8.12
    • Web Console
    • None

    Description

      I just updated WebConsole version to 4.8.10 and when I stop Felix I get the below exception.

      2023-07-25 22:00:04.479 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.FrameworkManager - Removing OSGi FrameworkListener!!
      ERROR: Bundle org.apache.felix.webconsole [72] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Invalid BundleContext.)
      java.lang.IllegalStateException: Invalid BundleContext.
      	at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:491)
      	at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:455)
      	at org.osgi.util.tracker.ServiceTracker.removedService(ServiceTracker.java:462)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:970)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:872)
      	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:912)
      	at org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990)
      	at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838)
      	at org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545)
      	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4863)
      	at org.apache.felix.framework.Felix.access$000(Felix.java:111)
      	at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:440)
      	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
      	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:146)
      	at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:241)
      	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2847)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1584)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      ERROR: Bundle org.apache.felix.webconsole [72] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Invalid BundleContext.)
      java.lang.IllegalStateException: Invalid BundleContext.
      	at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:491)
      	at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:455)
      	at org.osgi.util.tracker.ServiceTracker.removedService(ServiceTracker.java:462)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:970)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:872)
      	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:912)
      	at org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990)
      	at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838)
      	at org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545)
      	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4863)
      	at org.apache.felix.framework.Felix.access$000(Felix.java:111)
      	at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:440)
      	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
      	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:146)
      	at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:241)
      	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2847)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1584)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
      	at java.base/java.lang.Thread.run(Thread.java:833)
      ERROR: Bundle org.apache.felix.webconsole [72] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Invalid BundleContext.)
      java.lang.IllegalStateException: Invalid BundleContext.
      	at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:491)
      	at org.apache.felix.framework.BundleContextImpl.ungetService(BundleContextImpl.java:455)
      	at org.osgi.util.tracker.ServiceTracker.removedService(ServiceTracker.java:462)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:970)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:872)
      	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:912)
      	at org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990)
      	at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838)
      	at org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545)
      	at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4863)
      	at org.apache.felix.framework.Felix.access$000(Felix.java:111)
      	at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:440)
      	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
      	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:146)
      	at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:241)
      	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2847)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1584)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:297)
      	at java.base/java.lang.Thread.run(Thread.java:833) 

      This does not happen with v4.8.8

      Attachments

        1. image-2023-07-31-10-11-47-066.png
          62 kB
          Rakesh Kumar
        2. image-2023-07-31-10-12-25-383.png
          33 kB
          Rakesh Kumar

        Activity

          People

            cziegeler Carsten Ziegeler
            rakeshk15 Rakesh Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: