com.github.javaparser.TokenMgrError: Lexical error at line 6, column 2. Encountered: <EOF> after : ""

  1. 0

    Java - check if java file is well written

    Stack Overflow | 5 months ago | Mirko Marchiori
    com.github.javaparser.TokenMgrError: Lexical error at line 6, column 2. Encountered: <EOF> after : ""
  2. 0

    Parsing error: Encountered: "\ufeff" (65279), after : ""

    GitHub | 10 months ago | JinyongPark
    com.github.javaparser.TokenMgrError: Lexical error at line 1, column 1. Encountered: "\ufeff" (65279), after : ""
  3. 0

    Error while parsing class with utf-8 or 16 special literals

    GitHub | 5 months ago | DeepSnowNeeL
    com.github.javaparser.TokenMgrError: Lexical error at line 15, column 57. Encountered: "\u201d" (8221), after : "\'\u00e2"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Decompilers fail due to characters / encoding used

    GitHub | 10 months ago | DarkSeraphim
    com.github.javaparser.TokenMgrError: Lexical error at line 115, column 26. Encountered: "\u2603" (9731), after : ""

    1 unregistered visitors

    Root Cause Analysis

    1. com.github.javaparser.TokenMgrError

      Lexical error at line 6, column 2. Encountered: <EOF> after : ""

      at com.github.javaparser.ASTParserTokenManager.getNextToken()
    2. com.github.javaparser
      JavaParser.parse
      1. com.github.javaparser.ASTParserTokenManager.getNextToken(ASTParserTokenManager.java:2480)
      2. com.github.javaparser.ASTParser.jj_ntk(ASTParser.java:9154)
      3. com.github.javaparser.ASTParser.ClassOrInterfaceBody(ASTParser.java:829)
      4. com.github.javaparser.ASTParser.ClassOrInterfaceDeclaration(ASTParser.java:470)
      5. com.github.javaparser.ASTParser.TypeDeclaration(ASTParser.java:398)
      6. com.github.javaparser.ASTParser.CompilationUnit(ASTParser.java:203)
      7. com.github.javaparser.JavaParser.parse(JavaParser.java:111)
      8. com.github.javaparser.JavaParser.parse(JavaParser.java:158)
      9. com.github.javaparser.JavaParser.parse(JavaParser.java:177)
      9 frames
    3. javasourcecodeparser
      JavaSourceCodeParser.main
      1. javasourcecodeparser.JavaSourceCodeParser.iterateASTNodes(JavaSourceCodeParser.java:89)
      2. javasourcecodeparser.JavaSourceCodeParser.lambda$createSimplifiedAST$1(JavaSourceCodeParser.java:178)
      3. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:35)
      4. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:31)
      5. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:31)
      6. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:31)
      7. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:31)
      8. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:31)
      9. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:31)
      10. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:31)
      11. javasourcecodeparser.DirExplorer.explore(DirExplorer.java:24)
      12. javasourcecodeparser.JavaSourceCodeParser.createSimplifiedAST(JavaSourceCodeParser.java:194)
      13. javasourcecodeparser.JavaSourceCodeParser.main(JavaSourceCodeParser.java:225)
      13 frames