java.lang.StackOverflowError

Spring JIRA | Mark Fisher | 3 years ago
  1. 0

    (NOTE: even if we do want to prevent the use of module names for stream names, we obviously need to avoid a StackOverflowError) to reproduce: start the xd-singlenode container start the xd-shell, and type the following: {code} xd:>stream create time --definition "time | log" {code} that should produce an Internal Server Error output message check the xd-singlenode console, and find: {code} SEVERE: Servlet.service() for servlet [xd] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.StackOverflowError] with root cause java.lang.StackOverflowError at java.lang.StringValue.from(StringValue.java:24) at java.lang.String.<init>(String.java:178) at org.springframework.xd.dirt.stream.dsl.Token.<init>(Token.java:46) at org.springframework.xd.dirt.stream.dsl.Tokenizer.lexIdentifier(Tokenizer.java:195) at org.springframework.xd.dirt.stream.dsl.Tokenizer.process(Tokenizer.java:62) at org.springframework.xd.dirt.stream.dsl.Tokenizer.<init>(Tokenizer.java:41) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:65) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122) at org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:74) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122) at org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:74) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122) at org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53) ...ad nauseum {code}

    Spring JIRA | 3 years ago | Mark Fisher
    java.lang.StackOverflowError
  2. 0

    (NOTE: even if we do want to prevent the use of module names for stream names, we obviously need to avoid a StackOverflowError) to reproduce: start the xd-singlenode container start the xd-shell, and type the following: {code} xd:>stream create time --definition "time | log" {code} that should produce an Internal Server Error output message check the xd-singlenode console, and find: {code} SEVERE: Servlet.service() for servlet [xd] in context with path [] threw exception [Handler processing failed; nested exception is java.lang.StackOverflowError] with root cause java.lang.StackOverflowError at java.lang.StringValue.from(StringValue.java:24) at java.lang.String.<init>(String.java:178) at org.springframework.xd.dirt.stream.dsl.Token.<init>(Token.java:46) at org.springframework.xd.dirt.stream.dsl.Tokenizer.lexIdentifier(Tokenizer.java:195) at org.springframework.xd.dirt.stream.dsl.Tokenizer.process(Tokenizer.java:62) at org.springframework.xd.dirt.stream.dsl.Tokenizer.<init>(Tokenizer.java:41) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:65) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122) at org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:74) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122) at org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:74) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55) at org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135) at org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122) at org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53) ...ad nauseum {code}

    Spring JIRA | 3 years ago | Mark Fisher
    java.lang.StackOverflowError
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Stack overflow exception is thrown

    GitHub | 4 years ago | spektom
    java.lang.StackOverflowError
  5. 0

    Stackoverflow error with german article "einem"

    GitHub | 3 years ago | marbleman
    java.lang.StackOverflowError

  1. serious2monkeys 104 times, last 2 months ago
1 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.StackOverflowError

    No message provided

    at java.lang.StringValue.from()
  2. Java RT
    String.<init>
    1. java.lang.StringValue.from(StringValue.java:24)
    2. java.lang.String.<init>(String.java:178)
    2 frames
  3. org.springframework.xd
    StreamsNode.resolve
    1. org.springframework.xd.dirt.stream.dsl.Token.<init>(Token.java:46)
    2. org.springframework.xd.dirt.stream.dsl.Tokenizer.lexIdentifier(Tokenizer.java:195)
    3. org.springframework.xd.dirt.stream.dsl.Tokenizer.process(Tokenizer.java:62)
    4. org.springframework.xd.dirt.stream.dsl.Tokenizer.<init>(Tokenizer.java:41)
    5. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:65)
    6. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55)
    7. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545)
    8. org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135)
    9. org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122)
    10. org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53)
    11. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:74)
    12. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55)
    13. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545)
    14. org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135)
    15. org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122)
    16. org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53)
    17. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:74)
    18. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.parse(StreamConfigParser.java:55)
    19. org.springframework.xd.dirt.stream.dsl.StreamConfigParser.lookupStream(StreamConfigParser.java:545)
    20. org.springframework.xd.dirt.stream.dsl.StreamNode.resolveModuleNodes(StreamNode.java:135)
    21. org.springframework.xd.dirt.stream.dsl.StreamNode.resolve(StreamNode.java:122)
    22. org.springframework.xd.dirt.stream.dsl.StreamsNode.resolve(StreamsNode.java:53)
    22 frames