java.lang.IllegalStateException: Can only register services while bundle is active or activating.

karaf-user | vbhasin | 5 years ago
  1. 0

    Karaf - User - 'Unable to resolve missing requirement' error while deploying features in SMix/Fuse 4.4.0

    nabble.com | 11 months ago
    java.lang.IllegalStateException: Can only register services while bundle is active or activating.
  2. 0

    RE: 'Unable to resolve missing requirement' error while deploying features in SMix/Fuse 4.4.0

    karaf-user | 5 years ago | vbhasin
    java.lang.IllegalStateException: Can only register services while bundle is active or activating.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Possible race condition in launch?

    GitHub | 6 years ago | pkriens
    java.lang.IllegalStateException: Can only register services while bundle is active or activating.

  1. davidvanlaatum 40 times, last 2 months ago
1 unregistered visitors
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

    Can only register services while bundle is active or activating.

    at org.apache.felix.framework.Felix.registerService()
  2. Apache Felix Framework
    BundleContextImpl.registerService
    1. org.apache.felix.framework.Felix.registerService(Felix.java:2821)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
    2. org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)[org.apache.felix.framework-3.0.9-fuse-00-27.jar:]
    2 frames
  3. Spring OSGi Core
    AbstractDelegatedExecutionApplicationContext.completeRefresh
    1. org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.publishContextAsOsgiServiceIfNecessary(AbstractOsgiBundleApplicationContext.java:344)[82:org.springframework.osgi.core:1.2.1]
    2. org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:237)[82:org.springframework.osgi.core:1.2.1]
    3. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[82:org.springframework.osgi.core:1.2.1]
    4. org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[82:org.springframework.osgi.core:1.2.1]
    5. org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[82:org.springframework.osgi.core:1.2.1]
    5 frames
  4. org.springframework.osgi
    DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run
    1. org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[85:org.springframework.osgi.extender:1.2.1]
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:662)[:1.6.0_26]
    1 frame