javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not prepare statement

GitHub | mskurnik | 4 months ago
  1. 0

    GitHub comment 422#236794481

    GitHub | 4 months ago | mskurnik
    javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: could not prepare statement
  2. 0

    MySQL reconnect issue

    GitHub | 4 years ago | SelbieNL
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 46,012,347 milliseconds ago. The last packet sent successfully to the server was 46,012,348 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
  3. 0

    BlockPistonRetractEvent

    GitHub | 4 years ago | squiby
    org.bukkit.event.EventException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SQL communications link failure the return

    GitHub | 3 years ago | alistarle
    org.bukkit.command.CommandException: Unhandled exception executing command 'lwc' in plugin LWC v4.4.0 (b881) (July 11, 2013)
  6. 0

    MySQL connection closed...

    GitHub | 5 years ago | fromgate
    org.bukkit.event.EventException
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. java.net.SocketException

    Broken pipe

    at java.net.SocketOutputStream.socketWrite0()
  2. Java RT
    BufferedOutputStream.flush
    1. java.net.SocketOutputStream.socketWrite0(Native Method)
    2. java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
    3. java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    4. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    5. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    5 frames
  3. MySQL jdbc
    PreparedStatement.executeQuery
    1. com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3832)
    2. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2471)
    3. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2651)
    4. com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2734)
    5. com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
    6. com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2322)
    6 frames
  4. Hibernate
    QueryImpl.list
    1. org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:82)
    2. org.hibernate.loader.Loader.getResultSet(Loader.java:2066)
    3. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1863)
    4. org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1839)
    5. org.hibernate.loader.Loader.doQuery(Loader.java:910)
    6. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)
    7. org.hibernate.loader.Loader.doList(Loader.java:2554)
    8. org.hibernate.loader.Loader.doList(Loader.java:2540)
    9. org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370)
    10. org.hibernate.loader.Loader.list(Loader.java:2365)
    11. org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:497)
    12. org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:387)
    13. org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:236)
    14. org.hibernate.internal.SessionImpl.list(SessionImpl.java:1264)
    15. org.hibernate.internal.QueryImpl.list(QueryImpl.java:103)
    15 frames
  5. org.hibernate.jpa
    CriteriaQueryTypeQueryAdapter.getResultList
    1. org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:573)
    2. org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:449)
    3. org.hibernate.jpa.criteria.compile.CriteriaQueryTypeQueryAdapter.getResultList(CriteriaQueryTypeQueryAdapter.java:67)
    3 frames
  6. com.forgeessentials.playerlogger
    PlayerLogger.run
    1. com.forgeessentials.playerlogger.PlayerLogger.getOneOrNullResult(PlayerLogger.java:297)
    2. com.forgeessentials.playerlogger.PlayerLogger.getPlayer(PlayerLogger.java:320)
    3. com.forgeessentials.playerlogger.PlayerLogger.getPlayer(PlayerLogger.java:340)
    4. com.forgeessentials.playerlogger.PlayerLoggerEvent.getPlayer(PlayerLoggerEvent.java:50)
    5. com.forgeessentials.playerlogger.event.LogEventPlayerEvent.process(LogEventPlayerEvent.java:28)
    6. com.forgeessentials.playerlogger.PlayerLogger.run(PlayerLogger.java:188)
    6 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame