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 nabble.com by Unknown author, 2 years ago
via nabble.com by Unknown author, 2 years ago
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, 2 years ago
via axis-java-dev by Andreas Veithen (JIRA), 2 years ago
java.lang.IllegalStateException: Can only register services while bundle is active or activating.	at org.apache.felix.framework.Felix.registerService(Felix.java:2821)	at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:251)	at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:229)	at org.apache.camel.core.osgi.OsgiCamelContextPublisher.notify(OsgiCamelContextPublisher.java:62)	at org.apache.camel.util.EventHelper.doNotifyEvent(EventHelper.java:580)	at org.apache.camel.util.EventHelper.notifyCamelContextStarted(EventHelper.java:87)	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1330)	at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:203)	at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:101)	at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:238)	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)	at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)	at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)	at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)	at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)	at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)	at java.lang.Thread.run(Thread.java:662)