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] [Commented] (ARIES-1795) java.lang.IllegalStateException: The service registration is no longer valid.
Date Thu, 26 Apr 2018 17:40:00 GMT

    [ https://issues.apache.org/jira/browse/ARIES-1795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16454603#comment-16454603
] 

Stefan Bischof commented on ARIES-1795:
---------------------------------------

Hi,

sorry that was a bit short.
13    STPPD 201830241837  reference:file:/builds/project-name/mvn-workspace/.m2/repository/org/apache/felix/org.apache.felix.http.jetty/3.4.8/org.apache.felix.http.jetty-3.4.8.jar

-ea, aQute.launcher.Launcher] executed with result=-9, 
I will send you more information when i get all dependencys to work again.  org.apache.felix.framework
5.9.0-SNAPSHOT uses some pom-references which are not awaylible for me. (felix-parent 5-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)

Mime
View raw message