You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Rakesh Kumar (Jira)" <ji...@apache.org> on 2020/11/01 12:54:00 UTC

[jira] [Updated] (FELIX-6354) *ERROR* Error processing task java.lang.IllegalStateException: Invalid BundleContext.

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

Rakesh Kumar updated FELIX-6354:
--------------------------------
    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.


{code:java}
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!! {code}

  was:
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!!


> *ERROR* Error processing task java.lang.IllegalStateException: Invalid BundleContext.
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-6354
>                 URL: https://issues.apache.org/jira/browse/FELIX-6354
>             Project: Felix
>          Issue Type: Bug
>          Components: Configuration Admin
>    Affects Versions: configadmin-1.9.18
>            Reporter: Rakesh Kumar
>            Priority: Major
>
> 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.
> {code:java}
> 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!! {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)