java.lang.IllegalStateException: Not all instances were looked at

Spring JIRA | Ilayaperumal Gopinathan | 3 years ago
tip
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. 0
    samebug tip
    Spring Boot 1.4 changed their annotation system a little. Try using the @SpringBootApplication annotation for better results.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    As a user, I'm trying to list streams (>20) in admin-ui to use the pagination; however, I ended up with blank page and the server-side errored with _java.lang.IllegalStateException_. Version: 1.1.0 SNAPSHOT (master build) Distributed: 1 admin and 2 containers *Steps to reproduce:* 1) Deploy the following streams. stream create foo1 --definition "time | log" --deploy stream create foo2 --definition "time | log" --deploy stream create foo3 --definition "time | log" --deploy stream create foo4 --definition "time | log" --deploy stream create foo5 --definition "time | log" --deploy stream create foo6 --definition "time | log" --deploy stream create foo7 --definition "time | log" --deploy stream create foo8 --definition "time | log" --deploy stream create foo9 --definition "time | log" --deploy stream create foo10 --definition "time | log" --deploy stream create foo11 --definition "time | log" --deploy stream create foo12 --definition "time | log" --deploy stream create foo13 --definition "time | log" --deploy stream create foo14 --definition "time | log" --deploy stream create foo15 --definition "time | log" --deploy stream create foo16 --definition "time | log" --deploy stream create foo17 --definition "time | log" --deploy stream create foo18 --definition "time | log" --deploy stream create foo19 --definition "time | log" --deploy stream create foo20 --definition "time | log" --deploy stream create foo21 --definition "time | log" --deploy stream create foo22 --definition "time | log" --deploy 2) Go to Streams tab in admin-ui to get a blank page and the following exception in admin logs. *Error:* 16:55:19,107 1.1.0.SNAP ERROR http-nio-9393-exec-2 rest.RestControllerAdvice - Caught exception while handling a request java.lang.IllegalStateException: Not all instances were looked at at org.springframework.util.Assert.state(Assert.java:385) at org.springframework.xd.dirt.rest.XDController.enhanceWithDeployments(XDController.java:207) at org.springframework.xd.dirt.rest.XDController.listValues(XDController.java:178) at org.springframework.xd.dirt.rest.StreamsController.list(StreamsController.java:63)

    Spring JIRA | 2 years ago | Sabby Anandan
    java.lang.IllegalStateException: Not all instances were looked at

  1. Dunmer 1 times, last 1 week ago
  2. tvrmsmith 1 times, last 3 weeks ago
  3. SteVio1989 8 times, last 2 months ago
  4. jpvee 2 times, last 3 months ago
  5. Hronom 3 times, last 3 months ago
3 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

    Not all instances were looked at

    at org.springframework.util.Assert.state()
  2. Spring Core
    Assert.state
    1. org.springframework.util.Assert.state(Assert.java:385)
    1 frame