java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Tue Jun 18 14:21:29 UTC 2013]; root of context hierarchy at > org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:347) at > org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) at > org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:263) at > org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:165) at > org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:140) at > org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:65) at > org.springframework.data.mongodb.core.MongoTemplate.findById(MongoTemplate.java:483) at > org.apache.rave.portal.repository.impl.MongoDbMapReduceStatisticsAggregator.buildStats(MongoDbMapReduceStatisticsAggregator.java:121) at > org.apache.rave.portal.repository.impl.MongoDbMapReduceStatisticsAggregator$1.run(MongoDbMapReduceStatisticsAggregator.java:112) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at > java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Re: Issues enabling mongodb
    via by Matt Franklin,
  • Re: Issues enabling mongodb
    via by Matt Franklin,
  • Porting project JBoss AS 6 to JBoss AS 7
    via Stack Overflow by Rounak
    ,
  • TomEE Users - EAR IN TOMEE
    via by Unknown author,
  • Re: About DOSGI-152 status
    via by Tang Yong,
  • Re: About DOSGI-152 status
    via by Tang Yong,
  • how to convert HTML files to PDF in Java?
    via by Unknown author,
    • java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Tue Jun 18 14:21:29 UTC 2013]; root of context hierarchy at > org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:347) at > org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334) at > org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:263) at > org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:165) at > org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:140) at > org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:65) at > org.springframework.data.mongodb.core.MongoTemplate.findById(MongoTemplate.java:483) at > org.apache.rave.portal.repository.impl.MongoDbMapReduceStatisticsAggregator.buildStats(MongoDbMapReduceStatisticsAggregator.java:121) at > org.apache.rave.portal.repository.impl.MongoDbMapReduceStatisticsAggregator$1.run(MongoDbMapReduceStatisticsAggregator.java:112) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at > java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)

    Users with the same issue

    mortalman7
    mortalman74 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,