aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alasdair Nottingham <...@apache.org>
Subject Re: Regression at shutdown in blueprint
Date Fri, 05 Nov 2010 14:58:09 GMT
Hi,

This is a regression. It is as a result of the proxy refactor I've
been working on. I think I have a fix.

Alasdair

On 5 November 2010 13:02, Guillaume Nodet <gnodet@gmail.com> wrote:
> I'm experiencing a bad behavior of the blueprint extender at shutdown:
>
> 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)
>
> I think those are regressions but haven't really checked what happens yet ...
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>



-- 
Alasdair Nottingham
not@apache.org

Mime
View raw message