java.lang.StackOverflowError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • (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}
    via by Mark Fisher,
  • (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}
    via by Mark Fisher,
    • 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)

    Users with the same issue

    serious2monkeys
    serious2monkeys104 times, last one,
    Unknown visitor1 times, last one,