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/10/30 00:27:00 UTC

[jira] [Created] (FELIX-6351) EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Service already unregistered.)

Rakesh Kumar created FELIX-6351:
-----------------------------------

             Summary: EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Service already unregistered.)
                 Key: FELIX-6351
                 URL: https://issues.apache.org/jira/browse/FELIX-6351
             Project: Felix
          Issue Type: Bug
          Components: Declarative Services (SCR)
            Reporter: Rakesh Kumar


I am embedding Felix and in a shutdown hook I am stopping the Felix(with any registered FrameworkListner(s))  but recently started getting below exception.

I am not sure what causing this but it started appearing when I updated SCR and health check related jars to the latest versions. Please let me know if more information is needed.

 
{code:java}
^C2020-10-30 05:47:54.769 [AdeptJ Terminator] INFO  com.adeptj.runtime.server.Server - Stopping AdeptJ Runtime!!
2020-10-30 05:47:54.773 [AdeptJ Terminator] INFO  com.adeptj.runtime.servlet.BridgeServlet - Destroying BridgeServlet!!
2020-10-30 05:47:54.774 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.FrameworkShutdownHandler - Stopping OSGi Framework as ServletContext is being destroyed!!
2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.ServiceTrackers - Closing EventDispatcherTracker!!
2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.ServiceTrackers - Closing DispatcherServletTracker!!
2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.BridgeServiceTracker - Removing OSGi service [Apache Felix Http Dispatcher for bridged request handling]
2020-10-30 05:47:54.788 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.DispatcherServletWrapper - Felix DispatcherServlet Destroyed!!
2020-10-30 05:47:54.788 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.FrameworkManager - Removing OSGi FrameworkListener!!
ERROR: Bundle adeptj-modules-data-mongodb [26] EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Service already unregistered.)
java.lang.IllegalStateException: Service already unregistered.
	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:141)
	at org.apache.felix.scr.impl.manager.RegionConfigurationSupport.dereference(RegionConfigurationSupport.java:141)
	at org.apache.felix.scr.impl.ComponentRegistry.unregisterRegionConfigurationSupport(ComponentRegistry.java:698)
	at org.apache.felix.scr.impl.BundleComponentActivator.unsetRegionConfigurationSupport(BundleComponentActivator.java:755)
	at org.apache.felix.scr.impl.helper.ConfigAdminTracker$1.removedService(ConfigAdminTracker.java:82)
	at org.apache.felix.scr.impl.helper.ConfigAdminTracker$1.removedService(ConfigAdminTracker.java:41)
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:911)
	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:4833)
	at org.apache.felix.framework.Felix.access$000(Felix.java:112)
	at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:434)
	at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
	at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:145)
	at org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:248)
	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)
*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-30 05:47:54.821 [FelixStartLevel] INFO  org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImpl - HealthCheckExecutor shutdown at start level 20
2020-10-30 05:47:54.872 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.FrameworkManager - OSGi FrameworkEvent: [STOPPED]
2020-10-30 05:47:54.872 [AdeptJ Terminator] INFO  com.adeptj.runtime.osgi.FrameworkShutdownHandler - OSGi Framework stopped in [97] ms!!
2020-10-30 05:47:54.873 [AdeptJ Terminator] INFO  io.undertow - stopping server: Undertow - 2.2.2.Final{code}



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

Re: [jira] [Created] (FELIX-6351) EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Service already unregistered.)

Posted by Thomas Watson <tj...@gmail.com>.
Hi,
I must not have had enough coffee yet today.  Just noticed this was a mail
to the dev list for the issue you already opened!  Sorry about that!  Still
think a separate config admin issue should be opened.
I'll dup my issue to yours.

Tom

On Fri, Oct 30, 2020 at 8:30 AM Thomas Watson <tj...@gmail.com> wrote:

> Hi,
>
> This looks to be caused by the fix to
> https://issues.apache.org/jira/browse/FELIX-6059
>
> It seems that the Felix configadmin bundle is being stopped by some thread
> but there is this other worker thread which is paying attention to config
> plugins and that is what ultimately causes the ConfigAdmin service to be
> unregistered.
>
> Felix SCR is tracking the ConfigAdmin service and it uses the ConfigAdmin
> impl context to register a ConfigurationListener using the ConfigAdmin
> bundle context.  Seems a bit strange, but I think it is done this way to
> ensure SCR always sees the config events from the ConfigAdmin service that
> the extended bundle can "see" even though the SCR impl bundle may not be
> able to "see" the ConfigAdmin service.
>
> It appears there is a timing window where the thread stopping the
> ConfigAdmin impl bundle is racing this worker thread which is unregistering
> the ConfigAdmin service.  By the time the ServiceEvent enters the tracker
> in SCR the bundle context for the ConfigAdmin bundle has been completely
> stopped and all of the remaining service registrations for the context have
> been auto unregistered by the Framework this ultimately is leading to the
> exception when SCR tries to unregister the ConfigListener service it
> registered with the ConfigAdmin impl bundle context.
>
> I think SCR should protect against this IllegalStateException.  I always
> disliked that ServiceRegistration.unregister() throws this useless
> exception.  The caller is just trying to clean up, I can think of no good
> reason such a runtime exception should ever be propagated instead of simply
> caught and ignored by the caller of unregister().
>
> I opened https://issues.apache.org/jira/browse/FELIX-6352 to address that
> in the SCR implementation.  But I do think there is something weird about
> how the config admin impl is behaving here with this worker thread. I don't
> know the details enough to understand what the alternatives should be.  I
> suspect Carsten may have an opinion on that.  I would recommend a separate
> defect to investigate if this worker thread should somehow be coordinated
> with the
> ConfigurationAdmin org.apache.felix.cm.impl.Activator.stop(BundleContext)
> method to ensure the worker thread is done before exiting stop.
>
> Tom
>
>
> On Thu, Oct 29, 2020 at 7:27 PM Rakesh Kumar (Jira) <ji...@apache.org>
> wrote:
>
>> Rakesh Kumar created FELIX-6351:
>> -----------------------------------
>>
>>              Summary: EventDispatcher: Error during dispatch.
>> (java.lang.IllegalStateException: Service already unregistered.)
>>                  Key: FELIX-6351
>>                  URL: https://issues.apache.org/jira/browse/FELIX-6351
>>              Project: Felix
>>           Issue Type: Bug
>>           Components: Declarative Services (SCR)
>>             Reporter: Rakesh Kumar
>>
>>
>> I am embedding Felix and in a shutdown hook I am stopping the Felix(with
>> any registered FrameworkListner(s))  but recently started getting below
>> exception.
>>
>> I am not sure what causing this but it started appearing when I updated
>> SCR and health check related jars to the latest versions. Please let me
>> know if more information is needed.
>>
>>
>> {code:java}
>> ^C2020-10-30 05:47:54.769 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.server.Server - Stopping AdeptJ Runtime!!
>> 2020-10-30 05:47:54.773 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.servlet.BridgeServlet - Destroying BridgeServlet!!
>> 2020-10-30 05:47:54.774 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.FrameworkShutdownHandler - Stopping OSGi Framework
>> as ServletContext is being destroyed!!
>> 2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.ServiceTrackers - Closing EventDispatcherTracker!!
>> 2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.ServiceTrackers - Closing DispatcherServletTracker!!
>> 2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.BridgeServiceTracker - Removing OSGi service
>> [Apache Felix Http Dispatcher for bridged request handling]
>> 2020-10-30 05:47:54.788 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.DispatcherServletWrapper - Felix DispatcherServlet
>> Destroyed!!
>> 2020-10-30 05:47:54.788 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.FrameworkManager - Removing OSGi FrameworkListener!!
>> ERROR: Bundle adeptj-modules-data-mongodb [26] EventDispatcher: Error
>> during dispatch. (java.lang.IllegalStateException: Service already
>> unregistered.)
>> java.lang.IllegalStateException: Service already unregistered.
>>         at
>> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:141)
>>         at
>> org.apache.felix.scr.impl.manager.RegionConfigurationSupport.dereference(RegionConfigurationSupport.java:141)
>>         at
>> org.apache.felix.scr.impl.ComponentRegistry.unregisterRegionConfigurationSupport(ComponentRegistry.java:698)
>>         at
>> org.apache.felix.scr.impl.BundleComponentActivator.unsetRegionConfigurationSupport(BundleComponentActivator.java:755)
>>         at
>> org.apache.felix.scr.impl.helper.ConfigAdminTracker$1.removedService(ConfigAdminTracker.java:82)
>>         at
>> org.apache.felix.scr.impl.helper.ConfigAdminTracker$1.removedService(ConfigAdminTracker.java:41)
>>         at
>> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
>>         at
>> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
>>         at
>> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
>>         at
>> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:911)
>>         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:4833)
>>         at org.apache.felix.framework.Felix.access$000(Felix.java:112)
>>         at
>> org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:434)
>>         at
>> org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
>>         at
>> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:145)
>>         at
>> org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:248)
>>         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)
>> *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-30 05:47:54.821 [FelixStartLevel] INFO
>> org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImpl -
>> HealthCheckExecutor shutdown at start level 20
>> 2020-10-30 05:47:54.872 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.FrameworkManager - OSGi FrameworkEvent: [STOPPED]
>> 2020-10-30 05:47:54.872 [AdeptJ Terminator] INFO
>> com.adeptj.runtime.osgi.FrameworkShutdownHandler - OSGi Framework stopped
>> in [97] ms!!
>> 2020-10-30 05:47:54.873 [AdeptJ Terminator] INFO  io.undertow - stopping
>> server: Undertow - 2.2.2.Final{code}
>>
>>
>>
>> --
>> This message was sent by Atlassian Jira
>> (v8.3.4#803005)
>>
>

Re: [jira] [Created] (FELIX-6351) EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: Service already unregistered.)

Posted by Thomas Watson <tj...@gmail.com>.
Hi,

This looks to be caused by the fix to
https://issues.apache.org/jira/browse/FELIX-6059

It seems that the Felix configadmin bundle is being stopped by some thread
but there is this other worker thread which is paying attention to config
plugins and that is what ultimately causes the ConfigAdmin service to be
unregistered.

Felix SCR is tracking the ConfigAdmin service and it uses the ConfigAdmin
impl context to register a ConfigurationListener using the ConfigAdmin
bundle context.  Seems a bit strange, but I think it is done this way to
ensure SCR always sees the config events from the ConfigAdmin service that
the extended bundle can "see" even though the SCR impl bundle may not be
able to "see" the ConfigAdmin service.

It appears there is a timing window where the thread stopping the
ConfigAdmin impl bundle is racing this worker thread which is unregistering
the ConfigAdmin service.  By the time the ServiceEvent enters the tracker
in SCR the bundle context for the ConfigAdmin bundle has been completely
stopped and all of the remaining service registrations for the context have
been auto unregistered by the Framework this ultimately is leading to the
exception when SCR tries to unregister the ConfigListener service it
registered with the ConfigAdmin impl bundle context.

I think SCR should protect against this IllegalStateException.  I always
disliked that ServiceRegistration.unregister() throws this useless
exception.  The caller is just trying to clean up, I can think of no good
reason such a runtime exception should ever be propagated instead of simply
caught and ignored by the caller of unregister().

I opened https://issues.apache.org/jira/browse/FELIX-6352 to address that
in the SCR implementation.  But I do think there is something weird about
how the config admin impl is behaving here with this worker thread. I don't
know the details enough to understand what the alternatives should be.  I
suspect Carsten may have an opinion on that.  I would recommend a separate
defect to investigate if this worker thread should somehow be coordinated
with the
ConfigurationAdmin org.apache.felix.cm.impl.Activator.stop(BundleContext)
method to ensure the worker thread is done before exiting stop.

Tom


On Thu, Oct 29, 2020 at 7:27 PM Rakesh Kumar (Jira) <ji...@apache.org> wrote:

> Rakesh Kumar created FELIX-6351:
> -----------------------------------
>
>              Summary: EventDispatcher: Error during dispatch.
> (java.lang.IllegalStateException: Service already unregistered.)
>                  Key: FELIX-6351
>                  URL: https://issues.apache.org/jira/browse/FELIX-6351
>              Project: Felix
>           Issue Type: Bug
>           Components: Declarative Services (SCR)
>             Reporter: Rakesh Kumar
>
>
> I am embedding Felix and in a shutdown hook I am stopping the Felix(with
> any registered FrameworkListner(s))  but recently started getting below
> exception.
>
> I am not sure what causing this but it started appearing when I updated
> SCR and health check related jars to the latest versions. Please let me
> know if more information is needed.
>
>
> {code:java}
> ^C2020-10-30 05:47:54.769 [AdeptJ Terminator] INFO
> com.adeptj.runtime.server.Server - Stopping AdeptJ Runtime!!
> 2020-10-30 05:47:54.773 [AdeptJ Terminator] INFO
> com.adeptj.runtime.servlet.BridgeServlet - Destroying BridgeServlet!!
> 2020-10-30 05:47:54.774 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.FrameworkShutdownHandler - Stopping OSGi Framework
> as ServletContext is being destroyed!!
> 2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.ServiceTrackers - Closing EventDispatcherTracker!!
> 2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.ServiceTrackers - Closing DispatcherServletTracker!!
> 2020-10-30 05:47:54.775 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.BridgeServiceTracker - Removing OSGi service
> [Apache Felix Http Dispatcher for bridged request handling]
> 2020-10-30 05:47:54.788 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.DispatcherServletWrapper - Felix DispatcherServlet
> Destroyed!!
> 2020-10-30 05:47:54.788 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.FrameworkManager - Removing OSGi FrameworkListener!!
> ERROR: Bundle adeptj-modules-data-mongodb [26] EventDispatcher: Error
> during dispatch. (java.lang.IllegalStateException: Service already
> unregistered.)
> java.lang.IllegalStateException: Service already unregistered.
>         at
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:141)
>         at
> org.apache.felix.scr.impl.manager.RegionConfigurationSupport.dereference(RegionConfigurationSupport.java:141)
>         at
> org.apache.felix.scr.impl.ComponentRegistry.unregisterRegionConfigurationSupport(ComponentRegistry.java:698)
>         at
> org.apache.felix.scr.impl.BundleComponentActivator.unsetRegionConfigurationSupport(BundleComponentActivator.java:755)
>         at
> org.apache.felix.scr.impl.helper.ConfigAdminTracker$1.removedService(ConfigAdminTracker.java:82)
>         at
> org.apache.felix.scr.impl.helper.ConfigAdminTracker$1.removedService(ConfigAdminTracker.java:41)
>         at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:969)
>         at
> org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:871)
>         at
> org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
>         at
> org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:911)
>         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:4833)
>         at org.apache.felix.framework.Felix.access$000(Felix.java:112)
>         at
> org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:434)
>         at
> org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
>         at
> org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:145)
>         at
> org.apache.felix.cm.impl.ConfigurationManager.stop(ConfigurationManager.java:248)
>         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)
> *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-30 05:47:54.821 [FelixStartLevel] INFO
> org.apache.felix.hc.core.impl.executor.HealthCheckExecutorImpl -
> HealthCheckExecutor shutdown at start level 20
> 2020-10-30 05:47:54.872 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.FrameworkManager - OSGi FrameworkEvent: [STOPPED]
> 2020-10-30 05:47:54.872 [AdeptJ Terminator] INFO
> com.adeptj.runtime.osgi.FrameworkShutdownHandler - OSGi Framework stopped
> in [97] ms!!
> 2020-10-30 05:47:54.873 [AdeptJ Terminator] INFO  io.undertow - stopping
> server: Undertow - 2.2.2.Final{code}
>
>
>
> --
> This message was sent by Atlassian Jira
> (v8.3.4#803005)
>