java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Fri Apr 29 11:32:35 GMT+09:00 2016]; root of context hierarchy

okky.kr | 7 months 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

    OKKY - 어노테이션 문의드립니다.

    okky.kr | 7 months ago
    java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Fri Apr 29 11:32:35 GMT+09:00 2016]; root of context hierarchy
  2. 0

    Spring IllegalStateExceptions when upgrading to Java 8

    Stack Overflow | 2 years ago | Tracey Farrelly
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Wed Jan 07 14:53:45 GMT 2015]; root of context hierarchy
  3. 0

    BeanFactory not initialized or already closed

    Stack Overflow | 4 years ago | Dedyshka
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BeanFactory not initialized or already closed - call 'refresh' before accessing beans

    Stack Overflow | 4 years ago | LambeauLeap
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  6. 0

    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized

    Stack Overflow | 5 years ago | Josh
    java.lang.IllegalStateException: ApplicationEventMulticaster not initialized - call 'refresh' before multicasting events via the context: Root WebApplicationContext: startup date [Wed Nov 30 10:49:27 CST 2011]; root of context hierarchy
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

    LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: Root WebApplicationContext: startup date [Fri Apr 29 11:32:35 GMT+09:00 2016]; root of context hierarchy

    at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor()
  2. Spring Context
    AbstractApplicationContext.close
    1. org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:360)[spring-context-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1057)[spring-context-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    3. org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:1010)[spring-context-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    3 frames
  3. Spring
    ContextLoaderListener.contextDestroyed
    1. org.springframework.web.context.ContextLoader.closeWebApplicationContext(ContextLoader.java:586)[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    2. org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:143)[spring-web-3.2.9.RELEASE.jar:3.2.9.RELEASE]
    2 frames
  4. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4275)[catalina.jar:6.0.45]
    2. org.apache.catalina.core.StandardContext.stop(StandardContext.java:4920)[catalina.jar:6.0.45]
    3. org.apache.catalina.core.StandardContext.start(StandardContext.java:4784)[catalina.jar:6.0.45]
    4. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)[catalina.jar:6.0.45]
    5. org.apache.catalina.core.StandardHost.start(StandardHost.java:822)[catalina.jar:6.0.45]
    6. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)[catalina.jar:6.0.45]
    7. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)[catalina.jar:6.0.45]
    8. org.apache.catalina.core.StandardService.start(StandardService.java:525)[catalina.jar:6.0.45]
    9. org.apache.catalina.core.StandardServer.start(StandardServer.java:759)[catalina.jar:6.0.45]
    10. org.apache.catalina.startup.Catalina.start(Catalina.java:595)[catalina.jar:6.0.45]
    10 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.7.0_79]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_79]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)[?:1.7.0_79]
    4. java.lang.reflect.Method.invoke(Unknown Source)[?:1.7.0_79]
    4 frames
  6. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)[bootstrap.jar:6.0.45]
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)[bootstrap.jar:6.0.45]
    2 frames