java.lang.StackOverflowError: This exception has no message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

java.lang.StackOverflowError:
at com.sun.tools.javac.parser.Scanner.ensureLookahead(Scanner.java:101)
at com.sun.tools.javac.parser.Scanner.token(Scanner.java:95)
at com.sun.tools.javac.parser.JavacParser.peekToken(JavacParser.java:310)
at com.sun.tools.javac.parser.JavacParser.peekToken(JavacParser.java:306)
at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1249)
at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:909)
at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:880)
at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:836)
at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:816)
at com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.java:779)
at com.sun.tools.javac.parser.JavacParser.arguments(JavacParser.java:1818)
at com.sun.tools.javac.parser.JavacParser.arguments(JavacParser.java:1833)
at com.sun.tools.javac.parser.JavacParser.argumentsOpt(JavacParser.java:1805)
at com.sun.tools.javac.parser.JavacParser.term3Rest(JavacParser.java:1483)
at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1421)
at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:909)
at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:880)
at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:836)
at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:816)
at com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.java:779)
at com.sun.tools.javac.parser.JavacParser.parExpression(JavacParser.java:2299)
at com.sun.tools.javac.parser.JavacParser.parseStatement(JavacParser.java:2483)
at com.sun.tools.javac.parser.JavacParser.blockStatement(JavacParser.java:2391)
at com.sun.tools.javac.parser.JavacParser.parseStatementAsBlock(JavacParser.java:2356)
at com.sun.tools.javac.parser.JavacParser.parseStatement(JavacParser.java:2488)
at com.sun.tools.javac.parser.JavacParser.blockStatement(JavacParser.java:2391)
at com.sun.tools.javac.parser.JavacParser.parseStatementAsBlock(JavacParser.java:2356)
at com.sun.tools.javac.parser.JavacParser.parseStatement(JavacParser.java:2488)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.