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

Guillaume Nodet resolved ARIES-1504.
------------------------------------
    Resolution: Won't Fix
      Assignee: Guillaume Nodet

This is usually a coding problem as this exception is expected in some cases 
and actually means that the blueprint container has been destroyed for some 
reason.  No code related to blueprint beans should be executed beyond this 
point, so you're certainly keeping a reference to a bean somehow.  
Please reopen or create a new issue with a test case if needed.

> ServiceUnavailableException when a Karaf-Feature gets uninstalled and 
> re-installed
> ----------------------------------------------------------------------------------
>
>                 Key: ARIES-1504
>                 URL: https://issues.apache.org/jira/browse/ARIES-1504
>             Project: Aries
>          Issue Type: Bug
>          Components: Blueprint
>    Affects Versions: blueprint-core-1.5.0
>            Reporter: Roland Hauser
>            Assignee: Guillaume Nodet
>            Priority: Major
>
> I get a strange exception when I uninstall and then re-install a feature on 
> Karaf (without restarting Karaf). The referenced settings-service is 
> available (I can see it in the Karaf Web-Console).
> {code}
> org.osgi.service.blueprint.container.ServiceUnavailableException: The 
> Blueprint container is being or has been destroyed: 
> (objectClass=com.bechtle.sol.kernel.api.settings.SettingsService)
>       at 
> org.apache.aries.blueprint.container.ReferenceRecipe.getService(ReferenceRecipe.java:241)[42:org.apache.aries.blueprint.core:1.5.0]
>       at 
> org.apache.aries.blueprint.container.ReferenceRecipe.access$000(ReferenceRecipe.java:56)[42:org.apache.aries.blueprint.core:1.5.0]
>       at 
> org.apache.aries.blueprint.container.ReferenceRecipe$ServiceDispatcher.call(ReferenceRecipe.java:306)[42:org.apache.aries.blueprint.core:1.5.0]
>       at Proxy9fcb3aef_066e_4c6c_a1b1_92d8b4c4d6c7.getInteger(Unknown 
> Source)[:]
>       at 
> com.bechtle.sol.postevent.impl.registry.EventRegistry.tryToAquireProperty(EventRegistry.java:128)[213:com.bechtle.sol.postevent.impl:1.0.0.SNAPSHOT]
>       at 
> com.bechtle.sol.postevent.impl.messaging.listener.MessageListenerImpl.process(MessageListenerImpl.java:62)[213:com.bechtle.sol.postevent.impl:1.0.0.SNAPSHOT]
>       at 
> com.bechtle.sol.postevent.impl.messaging.listener.MessageListenerImpl.onMessage(MessageListenerImpl.java:52)[213:com.bechtle.sol.postevent.impl:1.0.0.SNAPSHOT]
>       at 
> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)[127:org.apache.servicemix.bundles.spring-jms:4.0.7.RELEASE_3]
> {code}



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

Reply via email to