java.lang.IllegalStateException: Service already unregistered.

Pentaho BI Platform Tracking | Uladzimir Pihin | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Run migrator for import: migrator.bat --import --migration-bundle-file=d:\migration-ba.zip --pentaho-solutions-dir=d:\Pentaho-5.4.0.1\server\biserver-ee\pentaho-solutions --pentaho-war=d:\Pentaho-5.4.0.1\server\biserver-ee\tomcat\webapps\pentaho Stdout contains unexpected exceptions: 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:168) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Unknown Source) ERROR: Bundle org.apache.aries.blueprint.core [7] Error stopping file:/D:/Pentaho-5.4.0.1/server/biserver-ee/pentaho-solutions/system/osgi/core_bundles/org.apache.aries.blueprint.core-1.4.0.jar (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:168) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Unknown Source)

    Pentaho BI Platform Tracking | 2 years ago | Uladzimir Pihin
    java.lang.IllegalStateException: Service already unregistered.
  2. 0

    Run migrator for import: migrator.bat --import --migration-bundle-file=d:\migration-ba.zip --pentaho-solutions-dir=d:\Pentaho-5.4.0.1\server\biserver-ee\pentaho-solutions --pentaho-war=d:\Pentaho-5.4.0.1\server\biserver-ee\tomcat\webapps\pentaho Stdout contains unexpected exceptions: 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:168) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Unknown Source) ERROR: Bundle org.apache.aries.blueprint.core [7] Error stopping file:/D:/Pentaho-5.4.0.1/server/biserver-ee/pentaho-solutions/system/osgi/core_bundles/org.apache.aries.blueprint.core-1.4.0.jar (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:168) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2530) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Unknown Source)

    Pentaho BI Platform Tracking | 2 years ago | Uladzimir Pihin
    java.lang.IllegalStateException: Service already unregistered.
  3. 0

    Upon shutdown of one of the early JBoss Fuse builds (-002), the exceptions below were thrown during container shutdown. {noformat} ERROR: Bundle org.apache.aries.blueprint.core [13] Error stopping bundle. (java.lang.IllegalStateException: Service already unregistered.) java.lang.IllegalStateException: Service already unregistered. at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:134) 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:166) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2649) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:680) ERROR: Bundle org.apache.aries.blueprint.core [13] Error stopping mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.0.1.redhat-60002 (org.osgi.framework.BundleException: Activator stop error in bundle org.apache.aries.blueprint.core [13].) java.lang.IllegalStateException: Service already unregistered. at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:134) 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:166) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2649) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:680) {noformat}

    JBoss Issue Tracker | 4 years ago | Gert Vanthienen
    java.lang.IllegalStateException: Service already unregistered.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Upon shutdown of one of the early JBoss Fuse builds (-002), the exceptions below were thrown during container shutdown. {noformat} ERROR: Bundle org.apache.aries.blueprint.core [13] Error stopping bundle. (java.lang.IllegalStateException: Service already unregistered.) java.lang.IllegalStateException: Service already unregistered. at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:134) 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:166) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2649) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:680) ERROR: Bundle org.apache.aries.blueprint.core [13] Error stopping mvn:org.apache.aries.blueprint/org.apache.aries.blueprint.core/1.0.1.redhat-60002 (org.osgi.framework.BundleException: Activator stop error in bundle org.apache.aries.blueprint.core [13].) java.lang.IllegalStateException: Service already unregistered. at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:134) 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:166) at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667) at org.apache.felix.framework.Felix.stopBundle(Felix.java:2649) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1317) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:680) {noformat}

    JBoss Issue Tracker | 4 years ago | Gert Vanthienen
    java.lang.IllegalStateException: Service already unregistered.
  6. 0

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

    aries-dev | 4 years ago | Jean-Baptiste Onofré (JIRA)
    java.lang.IllegalStateException: Service already unregistered.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    Service already unregistered.

    at org.apache.felix.framework.ServiceRegistrationImpl.unregister()
  2. Apache Felix Framework
    ServiceRegistrationImpl.unregister
    1. org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:123)
    1 frame
  3. Apache Aries Util
    RecursiveBundleTracker.close
    1. org.apache.aries.util.tracker.hook.BundleHookBundleTracker.close(BundleHookBundleTracker.java:88)
    2. org.apache.aries.util.tracker.RecursiveBundleTracker.close(RecursiveBundleTracker.java:106)
    2 frames
  4. Apache Aries Blueprint Core
    BlueprintExtender.stop
    1. org.apache.aries.blueprint.container.BlueprintExtender.stop(BlueprintExtender.java:168)
    1 frame
  5. Apache Felix Framework
    FrameworkStartLevelImpl.run
    1. org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:667)
    2. org.apache.felix.framework.Felix.stopBundle(Felix.java:2530)
    3. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1309)
    4. org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
    4 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame