Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
Karaf 2.3.1-SNAPSHOT
Aries Blueprint Core 1.1.0
Description
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)
Attachments
Issue Links
- relates to
-
KARAF-2156 Upgrade aries utils
- Resolved