You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2013/01/30 13:29:12 UTC

[jira] [Created] (ARIES-1011) Blueprint Core bundle raises an exception during stop

Jean-Baptiste Onofré created ARIES-1011:
-------------------------------------------

             Summary: Blueprint Core bundle raises an exception during stop
                 Key: ARIES-1011
                 URL: https://issues.apache.org/jira/browse/ARIES-1011
             Project: Aries
          Issue Type: Bug
          Components: Blueprint
         Environment: Karaf 2.3.1-SNAPSHOT
Aries Blueprint Core 1.1.0
            Reporter: Jean-Baptiste Onofré


At Karaf shutdown, when stopping the Aries Blueprint Core bundle, an IllegalStateException is raised:

ERROR: Bundle org.apache.aries.blueprint.core [7] Error stopping bundle. (java.lang.IllegalStateException: Service already unregistered.)
java.lang.IllegalStateException: Service already unregistered.
        at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:123)
        at org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:88)
        at org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:106)
        at org.apache.aries.blueprint.container.BlueprintExtender.stop(BlueprintExtender.java:160)
        at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2361)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1214)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
        at java.lang.Thread.run(Thread.java:662)
ERROR: Bundle org.apache.aries.blueprint.core [7] Error stopping mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.1.0 (org.osgi.framework.BundleException: Activator stop error in bundle org.apache.aries.blueprint.core [7].)
java.lang.IllegalStateException: Service already unregistered.
        at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:123)
        at org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:88)
        at org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:106)
        at org.apache.aries.blueprint.container.BlueprintExtender.stop(BlueprintExtender.java:160)
        at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
        at org.apache.felix.framework.Felix.stopBundle(Felix.java:2361)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1214)
        at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
        at java.lang.Thread.run(Thread.java:662)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira