java.lang.IllegalStateException

This Declarable object's (org.spring.data.gemfire.cache.DeclarableReplicatingCacheListener) init method has not been invoked!

Samebug tips2

If you're using boot 1.4.x you need to modify the @springBootTest annotation to @SpringBootTest(classes = DataFlowServerConfiguration.class). 1.3.8 doesn't have this problem as well.


rafaelrafael

Spring Boot 1.4 changed their annotation system a little. Try using the @SpringBootApplication annotation for better results.


rafaelrafael

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

Solutions on the web184

  • via Unknown by John Blum,
  • via Unknown by John Blum,
  • Stack trace

    • java.lang.IllegalStateException: This Declarable object's (org.spring.data.gemfire.cache.DeclarableReplicatingCacheListener) init method has not been invoked! at org.springframework.util.Assert.state(Assert.java:385) at org.springframework.data.gemfire.LazyWiringDeclarableSupport.onApplicationEvent(LazyWiringDeclarableSupport.java:198) at org.springframework.data.gemfire.LazyWiringDeclarableSupport.onApplicationEvent(LazyWiringDeclarableSupport.java:51) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    64 more bugmates