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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via axis-java-dev by Andreas Veithen (JIRA), 1 year ago
via axis-java-dev by Andy Schmidt (JIRA), 1 year ago
via apache.org by Unknown author, 1 year ago
via axis-java-dev by Andreas Veithen (JIRA), 1 year ago
via axis-java-dev by Andy Schmidt (JIRA), 1 year ago
java.lang.IllegalStateException: Can only register services while bundle is active or activating.
at org.apache.felix.framework.Felix.registerService(Felix.java:2817)
at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)
at org.apache.axis2.osgi.deployment.OSGiConfigurationContextFactory.updated(OSGiConfigurationContextFactory.java:107)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1112)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
40 times, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.