org.postgresql.util.PSQLException: ERROR: syntax error at end of input Position : 21

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

    GitHub comment 1277#229342359

    GitHub | 8 months ago | nafg
    org.postgresql.util.PSQLException: ERROR: syntax error at end of input Position : 21
  2. 0

    GitHub comment 1277#229337348

    GitHub | 8 months ago | gaelrenoux
    org.postgresql.util.PSQLException: ERROR: syntax error at end of input Position : 21
  3. 0

    PostgreSQL: Primary Key / Unique conflict detection issues

    symmetricds | 10 months ago | dahlajn
    org.jumpmind.db.sql.UniqueKeyException: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "customer_phone_number_unique" Detail: Key (phone_number)=(+18004755000) already exists.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem with PostgreSQL driver

    Google Groups | 5 years ago | Jacobus
    org.postgresql.util.PSQLException: ERROR: type "double" does not exist Position: 104
  6. 0

    Scala's Slick with multiple PK insertOrUpdate() throws exception ERROR: syntax error at end of input

    Stack Overflow | 3 years ago | Konstantin Trunin
    org.postgresql.util.PSQLException: ERROR: syntax error at end of input Position: 76

  1. silex 6 times, last 3 months ago
10 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.postgresql.util.PSQLException

    ERROR: syntax error at end of input Position : 21

    at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse()
  2. PostgreSQL JDBC Driver
    AbstractJdbc2Statement.execute
    1. org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2182)[na:na]
    2. org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1911)[na:na]
    3. org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:173)[na:na]
    4. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:616)[na:na]
    5. org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:466)[na:na]
    6. org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:459)[na:na]
    6 frames
  3. HikariCP-java6
    PreparedStatementJavassistProxy.execute
    1. com.zaxxer.hikari.proxy.PreparedStatementProxy.execute(PreparedStatementProxy.java:44)[na:na]
    2. com.zaxxer.hikari.proxy.PreparedStatementJavassistProxy.execute(PreparedStatementJavassistProxy.java)[na:na]
    2 frames
  4. slick.jdbc
    SQLActionBuilder$$anon$1.run
    1. slick.jdbc.StatementInvoker.results(StatementInvoker.scala:39)[na:na]
    2. slick.jdbc.StatementInvoker.iteratorTo(StatementInvoker.scala:22)[na:na]
    3. slick.jdbc.Invoker$class.foreach(Invoker.scala:48)[na:na]
    4. slick.jdbc.StatementInvoker.foreach(StatementInvoker.scala:16)[na:na]
    5. slick.jdbc.StreamingInvokerAction$class.run(StreamingInvokerAction.scala:22)[na:na]
    6. slick.jdbc.SQLActionBuilder$$anon$1.run(StaticQuery.scala:100)[na:na]
    7. slick.jdbc.SQLActionBuilder$$anon$1.run(StaticQuery.scala:100)[na:na]
    7 frames
  5. slick.backend
    DatabaseComponent$DatabaseDef$$anon$2.run
    1. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.liftedTree1$1(DatabaseComponent.scala:237)[na:na]
    2. slick.backend.DatabaseComponent$DatabaseDef$$anon$2.run(DatabaseComponent.scala:237)[na:na]
    2 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_45-internal]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_45-internal]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_45-internal]
    3 frames