java.lang.IllegalStateException: Container missing

Spring JIRA | Ilayaperumal Gopinathan | 3 years ago
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug 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.
    via GitHub by trisberg
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Why is ServletServerContainerFactoryBean casuing problems when testing?

    Stack Overflow | 2 years ago | M1990
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'createWebSocketContainer' defined in class path resource [com/alldata/webmanager/WebSocketConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: A ServletContext is required to access the javax.websocket.server.ServerContainer instance
  4. 0

    ControllerLinkBuilder.linkTo throws error if called outside of the context of a HTTP request

    GitHub | 1 year ago | nickgrealy
    java.lang.IllegalStateException: Could not find current request via RequestContextHolder

  1. SteVio1989 8 times, last 2 weeks ago
  2. jpvee 2 times, last 2 months ago
  3. Hronom 3 times, last 2 months ago
  4. iferca 42 times, last 2 months ago
  5. tvrmsmith 1 times, last 2 months ago
2 more registered users
49 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

    Container missing

    at org.springframework.util.Assert.state()
  2. Spring Core
    1. org.springframework.util.Assert.state(
    1 frame
  3. org.springframework.xd
    1. org.springframework.xd.dirt.core.StreamDeploymentsPath.hasDeploymentInfo(
    3. org.springframework.xd.dirt.server.ContainerListener.getContainersForStreamModule(
    4. org.springframework.xd.dirt.server.ContainerListener.redeployStreams(
    5. org.springframework.xd.dirt.server.ContainerListener.onChildAdded(
    6. org.springframework.xd.dirt.server.ContainerListener.childEvent(
    6 frames