[ 
https://issues.apache.org/jira/browse/FELIX-6621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rakesh Kumar updated FELIX-6621:
--------------------------------
    Attachment: image-2023-07-31-10-11-47-066.png

> Regressions caused by FELIX-6607
> --------------------------------
>
>                 Key: FELIX-6621
>                 URL: https://issues.apache.org/jira/browse/FELIX-6621
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-4.8.10
>            Reporter: Rakesh Kumar
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: webconsole-4.8.12
>
>         Attachments: image-2023-07-31-10-11-47-066.png
>
>
> I just updated WebConsole version to 4.8.10 and when I stop Felix I get the 
> below exception.
> {code:java}
> 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) {code}
> This does not happen with v4.8.8



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to