org.springframework.transaction.TransactionSystemException: Could not roll back JDBC transaction; nested exception is com.mysql.jdbc.exceptions.MySQLNonTransientConnecti onException: Connection.close() has already been called. Invalid operation in this state.

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via activiti.org by Unknown author, 1 year ago
Could not roll back JDBC transaction; nested exception is com.mysql.jdbc.exceptions.MySQLNonTransientConnecti onException: Connection.close() has already been called. Invalid operation in this state.
via YouTrack by Unknown author, 1 year ago
Could not roll back JDBC transaction; nested exception is java.sql.SQLException: Invalid state, the Connection object is closed.
via YouTrack by Unknown author, 1 year ago
Could not roll back JDBC transaction; nested exception is java.sql.SQLException: Invalid state, the Connection object is closed.
via GitHub by soilder
, 5 months ago
Could not roll back JDBC transaction; nested exception is java.sql.SQLException: Connection is closed
via Stack Overflow by Faisal khan
, 2 years ago
Could not roll back JDBC transaction; nested exception is java.sql.SQLException: Invalid state, the Connection object is closed.
via iswwwup.com by Unknown author, 2 years ago
Could not roll back JDBC transaction; nested exception is java.sql.SQLException: Invalid state, the Connection object is closed.
org.springframework.transaction.TransactionSystemException: Could not roll back JDBC transaction; nested exception is com.mysql.jdbc.exceptions.MySQLNonTransientConnecti onException: Connection.close() has already been called. Invalid operation in this state.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:888)
at com.mysql.jdbc.Connection.getMutex(Connection.java:3728)
at com.mysql.jdbc.Connection.rollback(Connection.java:5204)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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