java.sql.SQLSyntaxErrorException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 966#230934056
    via GitHub by tminglei
    ,
  • DB/Schemifier Problem
    via by Daniel Koller,
  • Spark+Hive的example运行问题 - SegmentFault
    via by Unknown author,
  • SQLException: Number of values not same
    via Stack Overflow by PeakGen
    ,
    • java.sql.SQLSyntaxErrorException: Syntax error: Encountered "<EOF>" at line 1, column 31., took 0.032 sec at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.this(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.this(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.this(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement40.this(Unknown Source) at org.apache.derby.jdbc.Driver40.newEmbedPreparedStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) at slick.jdbc.JdbcBackend$SessionDef$class.prepareStatement(JdbcBackend.scala:302) at slick.jdbc.JdbcBackend$BaseSession.prepareStatement(JdbcBackend.scala:414) at slick.jdbc.JdbcBackend$SessionDef$class.withPreparedStatement(JdbcBackend.scala:351) at slick.jdbc.JdbcBackend$BaseSession.withPreparedStatement(JdbcBackend.scala:414) at slick.jdbc.JdbcActionComponent$InsertActionComposerImpl.preparedOther(JdbcActionComponent.scala:500) at slick.jdbc.JdbcActionComponent$InsertActionComposerImpl$InsertOrUpdateAction.emulate(JdbcActionComponent.scala:564) at slick.jdbc.JdbcActionComponent$InsertActionComposerImpl$InsertOrUpdateAction.f$1(JdbcActionComponent.scala:539) at slick.jdbc.JdbcActionComponent$InsertActionComposerImpl$InsertOrUpdateAction.run(JdbcActionComponent.scala:544) at slick.jdbc.JdbcActionComponent$SimpleJdbcProfileAction.run(JdbcActionComponent.scala:31) at slick.jdbc.JdbcActionComponent$SimpleJdbcProfileAction.run(JdbcActionComponent.scala:28) at slick.basic.BasicBackend$DatabaseDef$$anon$2.liftedTree1$1(BasicBackend.scala:240) at slick.basic.BasicBackend$DatabaseDef$$anon$2.run(BasicBackend.scala:240) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.sql.SQLException: Syntax error: Encountered "<EOF>" at line 1, column 31. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) ... 28 more

    Users with the same issue

    jf-ast
    1 times, last one,
    stigkj
    1 times, last one,
    andyglick
    1 times, last one,
    davidvanlaatum
    1 times, last one,
    muffinmannen
    81 times, last one,
    1 more bugmates