git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Closed] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.


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

Stefan Bischof closed ARIES-1795.
---------------------------------
    Resolution: Fixed

Works with the new snapshot!

> 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
>            Priority: Critical
>         Attachments: log.txt, log2.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)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-aries-development/msg01712.html on line 163
Call Stack
#TimeMemoryFunctionLocation
10.0008372824{main}( ).../msg01712.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-aries-development/msg01712.html on line 163
Call Stack
#TimeMemoryFunctionLocation
10.0008372824{main}( ).../msg01712.html:0