java.sql.SQLException: Invalid state, the Connection object is closed.

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

Solutions on the web

via GitHub by jaschweder
, 11 months ago
Invalid state, the Connection object is closed.
via Google Groups by Josef Hopfgartner, 6 months ago
via GitHub by jdoose
, 1 year ago
via GitHub by nmadham
, 11 months ago
Invalid state, the Connection object is closed.
via GitHub by kvallish
, 1 year ago
Invalid state, the Connection object is closed .
java.sql.SQLException: Invalid state, the Connection object is closed.
at net.sourceforge.jtds.jdbc.JtdsConnection.checkOpen(JtdsConnection.java:1744)
at org.flywaydb.core.internal.util.jdbc.TransactionTemplate.execute(TransactionTemplate.java:88)
at org.flywaydb.core.internal.command.DbMigrate.migrate(DbMigrate.java:173)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:959)
at org.flywaydb.core.Flyway$1.execute(Flyway.java:917)
at org.flywaydb.core.Flyway.execute(Flyway.java:1373)
at org.flywaydb.commandline.Main.executeOperation(Main.java:139)
at org.flywaydb.commandline.Main.main(Main.java:102)

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
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

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