aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alasdair Nottingham (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ARIES-484) SingleServiceTracker NPE's when the service is lost
Date Tue, 21 Dec 2010 09:54:04 GMT

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

Alasdair Nottingham resolved ARIES-484.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.3

> SingleServiceTracker NPE's when the service is lost
> ---------------------------------------------------
>
>                 Key: ARIES-484
>                 URL: https://issues.apache.org/jira/browse/ARIES-484
>             Project: Aries
>          Issue Type: Bug
>          Components: Util
>            Reporter: Alasdair Nottingham
>            Assignee: Alasdair Nottingham
>             Fix For: 0.3
>
>
> ERROR: Error stopping bundle. (java.lang.IllegalStateException: Can
> only register services while bundle is active or activating.)
> java.lang.IllegalStateException: Can only register services while
> bundle is active or activating.
>        at org.apache.felix.framework.Felix.registerService(Felix.java:2815)
>        at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)
>        at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229)
>        at org.apache.aries.proxy.impl.ProxyManagerActivator.start(ProxyManagerActivator.java:52)
>        at org.apache.aries.blueprint.uberbundle.UberActivator.stop(UberActivator.java:40)
>        at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:655)
>        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2197)
>        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1172)
>        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>        at java.lang.Thread.run(Thread.java:680)
> ERROR: EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
> java.lang.NullPointerException
>        at org.apache.aries.util.SingleServiceTracker.update(SingleServiceTracker.java:115)
>        at org.apache.aries.util.SingleServiceTracker.findMatchingReference(SingleServiceTracker.java:106)
>        at org.apache.aries.util.SingleServiceTracker.access$200(SingleServiceTracker.java:31)
>        at org.apache.aries.util.SingleServiceTracker$1.serviceChanged(SingleServiceTracker.java:54)
>        at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:871)
>        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:733)
>        at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)
>        at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3724)
>        at org.apache.felix.framework.Felix.access$000(Felix.java:80)
>        at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)
>        at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)
>        at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)
>        at org.apache.felix.framework.ServiceRegistry.unregisterServices(ServiceRegistry.java:178)
>        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2215)
>        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1172)
>        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
>        at java.lang.Thread.run(Thread.java:680)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message