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)

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Unknown by Andy Piper,
  • via Unknown by Andy Piper,
  • via Unknown by Andy Piper,
  • Stack trace

    • 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.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:228) at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794) 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 org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.