net.sf.jsqlparser.parser.TokenMgrError: Lexical error at line 1, column 19. Encountered: "\n" (10), after : "{"

GitHub | ytechinfo | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    error has occurred as bellow when i tried to parsing above query .....

    GitHub | 6 months ago | ytechinfo
    net.sf.jsqlparser.parser.TokenMgrError: Lexical error at line 1, column 19. Encountered: "\n" (10), after : "{"

    Root Cause Analysis

    1. net.sf.jsqlparser.parser.TokenMgrError

      Lexical error at line 1, column 19. Encountered: "\n" (10), after : "{"

      at net.sf.jsqlparser.parser.CCJSqlParserTokenManager.getNextToken()
    2. JSqlParser
      CCJSqlParser.Statement
      1. net.sf.jsqlparser.parser.CCJSqlParserTokenManager.getNextToken(CCJSqlParserTokenManager.java:2267)
      2. net.sf.jsqlparser.parser.CCJSqlParser.jj_scan_token(CCJSqlParser.java:13862)
      3. net.sf.jsqlparser.parser.CCJSqlParser.jj_3_14(CCJSqlParser.java:11611)
      4. net.sf.jsqlparser.parser.CCJSqlParser.jj_2_14(CCJSqlParser.java:8417)
      5. net.sf.jsqlparser.parser.CCJSqlParser.Table(CCJSqlParser.java:1610)
      6. net.sf.jsqlparser.parser.CCJSqlParser.CreateTable(CCJSqlParser.java:7210)
      7. net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:143)
      8. net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:68)
      8 frames