java.lang.Error: jtb.ParseException: Parse error at line 21, column 46. Encountered: :

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

via GitHub by mernst
, 1 year ago
jtb.ParseException: Parse error at line 21, column 46. Encountered: :
java.lang.Error: jtb.ParseException: Parse error at line 21, column 46. Encountered: :
at jtb.JavaParser.generateParseException(JavaParser.java:8606)
at jtb.JavaParser.jj_consume_token(JavaParser.java:8556)
at jtb.JavaParser.ForStatement(JavaParser.java:4513)
at jtb.JavaParser.Statement(JavaParser.java:3785)
at jtb.JavaParser.BlockStatement(JavaParser.java:3991)
at jtb.JavaParser.Block(JavaParser.java:3926)
at jtb.JavaParser.MethodDeclaration(JavaParser.java:1312)
at jtb.JavaParser.ClassOrInterfaceBodyDeclaration(JavaParser.java:1011)
at jtb.JavaParser.ClassOrInterfaceBody(JavaParser.java:919)
at jtb.JavaParser.ClassOrInterfaceDeclaration(JavaParser.java:529)
at jtb.JavaParser.TypeDeclaration(JavaParser.java:437)
at jtb.JavaParser.CompilationUnit(JavaParser.java:206)
at daikon.tools.jtb.ParseResults.parse(ParseResults.java:77)
at daikon.tools.jtb.ParseResults.parse(ParseResults.java:50)
at daikon.tools.runtimechecker.InstrumentHandler.handle(InstrumentHandler.java:109)
at daikon.tools.runtimechecker.Main.nonStaticMain(Main.java:45)
at daikon.tools.runtimechecker.Main.main(Main.java:71)

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.