aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Compagner (Jira)" <j...@apache.org>
Subject [jira] [Created] (ARIES-2006) java.lang.IllegalStateException: The service has been unregistered
Date Tue, 29 Sep 2020 12:18:00 GMT
Johan Compagner created ARIES-2006:
--------------------------------------

             Summary: java.lang.IllegalStateException: The service has been unregistered
                 Key: ARIES-2006
                 URL: https://issues.apache.org/jira/browse/ARIES-2006
             Project: Aries
          Issue Type: Bug
          Components: SPI Fly
    Affects Versions: spifly-1.3.0
            Reporter: Johan Compagner


i tried using 1.3.0 version for my eclipse instead of the 1.2.4 version i used before

But then everytime i shutdown our eclipse based project i get:

 

java.lang.IllegalStateException: The service has been unregistered \{org.slf4j.spi.SLF4JServiceProvider}=\{serviceloader.mediator=68,
service.id=142, service.bundleid=96, service.scope=bundle, .org.apache.aries.spifly.provider.implclass=org.apache.logging.slf4j.SLF4JServiceProvider,
.org.apache.aries.spifly.provider.discovery.mode=SERVICELOADER_CAPABILITIES}java.lang.IllegalStateException:
The service has been unregistered \{org.slf4j.spi.SLF4JServiceProvider}=\{serviceloader.mediator=68,
service.id=142, service.bundleid=96, service.scope=bundle, .org.apache.aries.spifly.provider.implclass=org.apache.logging.slf4j.SLF4JServiceProvider,
.org.apache.aries.spifly.provider.discovery.mode=SERVICELOADER_CAPABILITIES} at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:222)
at org.apache.aries.spifly.ProviderBundleTrackerCustomizer.removedBundle(ProviderBundleTrackerCustomizer.java:457)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:501) at
org.osgi.util.tracker.BundleTracker$Tracked.customizerRemoved(BundleTracker.java:1) at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:341)
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:456) at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:974)

 

with 1.2.4 this does not happen.

the the thing is that that specific server is already unregistered at startup.. So it is not
that that one is deregistered twice at shutdown, but that specific instance is started, then
i guess used and directly unregistered by eclipse again)

but then when a actual exit does happen it is unregistered again 



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

Mime
View raw message