Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
configadmin-1.9.18
-
None
Description
As suggested by tjwatson raising this defect for Config Admin. Please see - https://issues.apache.org/jira/browse/FELIX-6351
Here is the exception trace while Felix is being stopped.
2020-10-31 21:32:50.270 [AdeptJ Terminator] INFO com.adeptj.runtime.osgi.FrameworkManager - Removing OSGi FrameworkListener!! ERROR Error processing task java.lang.IllegalStateException: Invalid BundleContext. at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:491) at org.apache.felix.framework.BundleContextImpl.removeBundleListener(BundleContextImpl.java:215) at org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:256) at org.apache.felix.cm.impl.ConfigurationAdminStarter.deactivate(ConfigurationAdminStarter.java:95) at org.apache.felix.cm.impl.ConfigurationAdminStarter.updatePluginsSet(ConfigurationAdminStarter.java:177) at org.apache.felix.cm.impl.RequiredConfigurationPluginTracker$2.run(RequiredConfigurationPluginTracker.java:155) at org.apache.felix.cm.impl.ActivatorWorkerQueue.run(ActivatorWorkerQueue.java:82) at java.base/java.lang.Thread.run(Thread.java:834) 2020-10-31 21:32:50.300 [FelixStartLevel] INFO org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImpl - HealthCheckExecutor shutdown at start level 20 2020-10-31 21:32:50.349 [AdeptJ Terminator] INFO com.adeptj.runtime.osgi.FrameworkManager - OSGi FrameworkEvent: [STOPPED] 2020-10-31 21:32:50.349 [AdeptJ Terminator] INFO com.adeptj.runtime.osgi.FrameworkShutdownHandler - OSGi Framework stopped in [88] ms!!