aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bischof (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
Date Tue, 24 Apr 2018 17:59:00 GMT
Stefan Bischof created ARIES-1795:
-------------------------------------

             Summary: java.lang.IllegalStateException: The service registration is no longer
valid.
                 Key: ARIES-1795
                 URL: https://issues.apache.org/jira/browse/ARIES-1795
             Project: Aries
          Issue Type: Question
          Components: jax-rs-whiteboard
    Affects Versions: jax-rs-whiteboard-1.0.0
            Reporter: Stefan Bischof
         Attachments: log.txt

Hi Carlos,

 

is this a Felix, an Aries-Whiteboard or (again) my Error?

I only have this error on CI-Build using Gitlab-CI with maven-bnd-test-plugin.

 
{code:java}
java.lang.IllegalStateException: The service registration is no longer valid.
    at org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:109)
    at org.apache.aries.jax.rs.whiteboard.internal.utils.Utils.updateProperty(Utils.java:188)
    at org.apache.aries.jax.rs.whiteboard.internal.Whiteboard.removeHttpEndpoints(Whiteboard.java:737)
    at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:537)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96)
    at org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58)
    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.close(ServiceTracker.java:380)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.internal.AllOSGi.lambda$null$1(AllOSGi.java:51)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.OSGi.lambda$null$59(OSGi.java:539)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.JustOSGiImpl.lambda$null$1(JustOSGiImpl.java:51)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.OSGiResultImpl.close(OSGiResultImpl.java:36)
    at org.apache.aries.osgi.functional.OSGiResult.run(OSGiResult.java:29)
    at org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:96)
    at org.apache.aries.osgi.functional.internal.ServiceReferenceOSGi$DefaultServiceTrackerCustomizer.removedService(ServiceReferenceOSGi.java:58)
    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:4807)
    at org.apache.felix.framework.Felix.access$000(Felix.java:110)
    at org.apache.felix.framework.Felix$1.serviceChanged(Felix.java:430)
    at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:170)
    at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:145)
    at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.stop(WhiteboardManager.java:240)
    at org.apache.felix.http.base.internal.HttpServiceController.unregister(HttpServiceController.java:132)
    at org.apache.felix.http.jetty.internal.JettyService.stopJetty(JettyService.java:298)
    at org.apache.felix.http.jetty.internal.JettyService.stop(JettyService.java:250)
    at org.apache.felix.http.jetty.internal.JettyActivator.doStop(JettyActivator.java:94)
    at org.apache.felix.http.base.internal.AbstractActivator.stop(AbstractActivator.java:49)
    at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:719)
    at org.apache.felix.framework.Felix.stopBundle(Felix.java:2771)
    at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1533)
    at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
    at java.lang.Thread.run(Thread.java:748){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message