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

GitHub | ytechinfo | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

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

    GitHub | 7 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