异常-Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical error at lin

Posted Questions张

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了异常-Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical error at lin相关的知识,希望对你有一定的参考价值。

1 详细异常

Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical error at line 1, column 596.  Encountered: <EOF> after :

at net.sf.jsqlparser.parser.CCJSqlParserTokenManager.getNextToken(CCJSqlParserTokenManager.java:3124)
    at net.sf.jsqlparser.parser.CCJSqlParser.jj_ntk_f(CCJSqlParser.java:16771)
    at net.sf.jsqlparser.parser.CCJSqlParser.CreateTable(CCJSqlParser.java:9095)
    at net.sf.jsqlparser.parser.CCJSqlParser.SingleStatement(CCJSqlParser.java:168)
    at net.sf.jsqlparser.parser.CCJSqlParser.Statement(CCJSqlParser.java:81)
    at net.sf.jsqlparser.parser.CCJSqlParserUtil.parse(CCJSqlParserUtil.java:54)
    at com.zendesk.maxwell.util.Parsemysql.toPhoenixSQL(ParseMySQL.java:123)
    at com.zendesk.maxwell.schema.MysqlSchemaStore.processSQL(MysqlSchemaStore.java:118)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.processQueryEvent(BinlogConnectorReplicator.java:309)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.processQueryEvent(BinlogConnectorReplicator.java:331)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.getRow(BinlogConnectorReplicator.java:603)
    at com.zendesk.maxwell.replication.BinlogConnectorReplicator.work(BinlogConnectorReplicator.java:175)
    at com.zendesk.maxwell.util.RunLoopProcess.runLoop(RunLoopProcess.java:34)
    at com.zendesk.maxwell.Maxwell.startInner(Maxwell.java:222)
    at com.zendesk.maxwell.Maxwell.start(Maxwell.java:156)
    at com.zendesk.maxwell.Maxwell.main(Maxwell.java:243)
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2048)
    at java.util.concurrent.ArrayBlockingQueue.put(ArrayBlockingQueue.java:353)
    at com.zendesk.maxwell.producer.MaxwellKafkaProducer.push(MaxwellKafkaProducer.java:123)
    at com.zendesk.maxwell.bootstrap.SynchronousBootstrapper.performBootstrap(SynchronousBootstrapper.java:79)
    at com.zendesk.maxwell.bootstrap.SynchronousBootstrapper.startBootstrap(SynchronousBootstrapper.java:39)
    at com.zendesk.maxwell.bootstrap.BootstrapController.work(BootstrapController.java:65)
    at com.zendesk.maxwell.util.RunLoopProcess.runLoop(RunLoopProcess.java:34)
    at com.zendesk.maxwell.MaxwellContext.lambda$getBootstrapController$0(MaxwellContext.java:392)
    at java.lang.Thread.run(Thread.java:748)
16:16:27,964 ERROR MaxwellKafkaProducer - Topic ‘maxwell1‘ name does not exist. Exception: java.lang.InterruptedException
16:16:28,264 INFO  TaskManager - Stopped all tasks

  

2 问题原因

Maxwell无法启动,kafka挂了 

以上是关于异常-Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical error at lin的主要内容,如果未能解决你的问题,请参考以下文章

异常Maxwell异常 Exception in thread "main" net.sf.jsqlparser.parser.TokenMgrError: Lexical e(代

Hbase delete遇到的常见异常: Exception in thread "main" java.lang.UnsupportedOperationException(代码

异常Exception in thread "main" java.lang.IllegalArgumentException: Illegal pattern c

Maven异常Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/mav(代

Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2"异常解决(

exception throw in progress runner thread_VS2015中SVN源代码无说明提交异常