java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: org.springframework.os gi.context.support.OsgiBundleXmlApplicationContext@9d4d84: display name [OsgiBun dleXmlApplicationContext(bundle=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster(AbstractApplicationContext.java:287) at org.springframework.context.support.AbstractApplicationContext.publis hEvent(AbstractApplicationContext.java:274) at org.springframework.context.support.AbstractApplicationContext.doClos e(AbstractApplicationContext.java:819) at org.springframework.osgi.context.support.AbstractOsgiBundleApplicatio nContext.doClose(AbstractOsgiBundleApplicationContext.java:206) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:68 ) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:217) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCus tomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:2 13) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextEx ecutor.java:345)

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 Spring JIRA by Andy Piper, 1 year ago
=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster
via Spring JIRA by Andy Piper, 1 year ago
=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster
via Spring JIRA by Andy Piper, 1 year ago
=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster
via Spring JIRA by Andy Piper, 1 year ago
=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster
via Spring JIRA by Andy Piper, 1 year ago
=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster
via Spring JIRA by Andy Piper, 1 year ago
=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster
java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - c all 'refresh' before multicasting events via the context: org.springframework.os gi.context.support.OsgiBundleXmlApplicationContext@9d4d84: display name [OsgiBun dleXmlApplicationContext(bundle=helloworld, config=osgibundle:/META-INF/spring/* .xml)]; startup date [Tue Dec 09 11:00:31 GMT 2008]; root of context hierarchy at org.springframework.context.support.AbstractApplicationContext.getApp licationEventMulticaster(AbstractApplicationContext.java:287) at org.springframework.context.support.AbstractApplicationContext.publis hEvent(AbstractApplicationContext.java:274) at org.springframework.context.support.AbstractApplicationContext.doClos e(AbstractApplicationContext.java:819) at org.springframework.osgi.context.support.AbstractOsgiBundleApplicatio nContext.doClose(AbstractOsgiBundleApplicationContext.java:206) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:68 ) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:217) at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCus tomTCCL(PrivilegedUtils.java:85) at org.springframework.osgi.context.support.AbstractDelegatedExecutionAp plicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:2 13) at org.springframework.osgi.extender.internal.dependencies.startup.Depen dencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextEx ecutor.java:345)
at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$3.run(ContextLoaderListener.java:832)
at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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