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

rave-users | Khazhismel Kumykov | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Issues enabling mongodb

    rave-users | 4 years ago | Khazhismel Kumykov
    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
  2. 0

    Issues enabling mongodb

    rave-users | 4 years ago | Khazhismel Kumykov
    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
  3. 0

    Spring Boot With MongoDB Causing IllegalStateException

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Invocation of init method failed; nested exception is java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@6022f5dd: startup date [Mon Mar 02 17:32:08 SGT 2015]; root of context hierarchy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ApplicationEventMulticaster not initialized with spring-data for mongo

    Stack Overflow | 5 years ago | Laures
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.context.support.ClassPathXmlApplicationContext@1fd0fafc: startup date [Fri Apr 27 17:42:46 CEST 2012]; root of context hierarchy
  6. 0

    spring-boot EntityManager does not work

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public lv.intrade.example.dao.TranslationDAO lv.intrade.example.services.Dictionary.translationDAO; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'translationDAOImpl': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory': Post-processing of FactoryBean's singleton object failed; nested exception is java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@17ff24f: startup date [Sun Mar 22 12:19:44 EET 2015]; root of context hierarchy

  1. Raggyman 2 times, last 7 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Spring Context
    AbstractApplicationContext.publishEvent
    1. org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:347)
    2. org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
    2 frames
  3. Spring Data Core
    AbstractMappingContext.getPersistentEntity
    1. org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:263)
    2. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:165)
    3. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:140)
    4. org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:65)
    4 frames
  4. Spring Data MongoDB - Core
    MongoTemplate.findById
    1. org.springframework.data.mongodb.core.MongoTemplate.findById(MongoTemplate.java:483)
    1 frame
  5. org.apache.rave
    MongoDbMapReduceStatisticsAggregator$1.run
    1. org.apache.rave.portal.repository.impl.MongoDbMapReduceStatisticsAggregator.buildStats(MongoDbMapReduceStatisticsAggregator.java:121)
    2. org.apache.rave.portal.repository.impl.MongoDbMapReduceStatisticsAggregator$1.run(MongoDbMapReduceStatisticsAggregator.java:112)
    2 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
    5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    8. java.lang.Thread.run(Thread.java:722)
    8 frames