java.lang.IllegalStateException

tip

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.

tip

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


rafaelrafael

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

  • Check XD compatibilty
    via GitHub by philwebb
    ,
    • java.lang.IllegalStateException: Async result for handler [public <HIDDEN>] was not set during the specified timeToWait=0 at org.springframework.util.Assert.state(Assert.java:385) at org.springframework.test.web.servlet.DefaultMvcResult.getAsyncResult(DefaultMvcResult.java:143) at org.springframework.test.web.servlet.result.PrintingResultHandler.printAsyncResult(PrintingResultHandler.java:131) at org.springframework.test.web.servlet.result.PrintingResultHandler.handle(PrintingResultHandler.java:79) at org.springframework.test.web.servlet.MockMvc.applyDefaultResultActions(MockMvc.java:176) at org.springframework.test.web.servlet.MockMvc.perform(MockMvc.java:146)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    62 more bugmates