javax.persistence.PersistenceException: unexpected error when rollbacking

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

via by Unknown author

Probably there is a bug in TestNG Eclipse plugin (, try an other version (e.g.

via GitHub by ppoulard

before running my test in debug mode, i open the debug view, and remove some breakpoints (such as some remaining on NullPointersExceptions, and Sockets)

Solutions on the web

via GitHub by mskurnik
, 1 year ago
unexpected error when rollbacking
via by Unknown author, 2 years ago
unexpected error when rollbacking
via by Unknown author, 2 years ago
unexpected error when rollbacking
via Stack Overflow by user3659052
, 2 years ago
unexpected error when rollbacking
via by Unknown author, 1 year ago
via GitHub by kennymarlo-private
, 6 months ago
unexpected error when rollbacking Broken pipe
at Method)
at com.mysql.jdbc.MysqlIO.send(
at com.mysql.jdbc.MysqlIO.sendCommand(
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(
at com.mysql.jdbc.ConnectionImpl.execSQL(
at com.mysql.jdbc.PreparedStatement.executeInternal(
at com.mysql.jdbc.PreparedStatement.executeQuery(
at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(
at org.hibernate.loader.Loader.getResultSet(
at org.hibernate.loader.Loader.executeQueryStatement(
at org.hibernate.loader.Loader.executeQueryStatement(
at org.hibernate.loader.Loader.doQuery(
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(
at org.hibernate.loader.Loader.doList(
at org.hibernate.loader.Loader.doList(
at org.hibernate.loader.Loader.listIgnoreQueryCache(
at org.hibernate.loader.Loader.list(
at org.hibernate.loader.hql.QueryLoader.list(
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(
at org.hibernate.internal.SessionImpl.list(
at org.hibernate.jpa.internal.QueryImpl.list(
at org.hibernate.jpa.internal.QueryImpl.getResultList(
at org.hibernate.jpa.criteria.compile.CriteriaQueryTypeQueryAdapter.getResultList(
at com.forgeessentials.playerlogger.PlayerLogger.getOneOrNullResult(
at com.forgeessentials.playerlogger.PlayerLogger.getPlayer(
at com.forgeessentials.playerlogger.PlayerLogger.getPlayer(
at com.forgeessentials.playerlogger.PlayerLoggerEvent.getPlayer(
at com.forgeessentials.playerlogger.event.LogEventPlayerEvent.process(

Users with the same issue

Once, 14 hours ago
4 times, 1 day ago
Once, 6 days ago
Once, 1 week ago
Once, 4 weeks ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.