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

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 GitHub by jaschweder
, 9 months ago
Invalid state, the Connection object is closed.
via Stack Overflow by skeegan
, 2 months ago
Invalid state, the Connection object is closed.
via sql-server-performance.com by Unknown author, 1 year ago
via osdir.com by Unknown author, 1 year ago
java.sql.SQLException: Invalid state, the Connection object is closed.
at net.sourceforge.jtds.jdbc.TdsCore.checkOpen(TdsCore.java:481)
at net.sourceforge.jtds.jdbc.TdsCore.clearResponseQueue(TdsCore.java:767)
at net.sourceforge.jtds.jdbc.JtdsStatement.reset(JtdsStatement.java:722)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCStatementImpl.close(JDBCStatementImpl.java:517)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.closeStatement(SQLQueryJob.java:654)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.executeSingleQuery(SQLQueryJob.java:400)
at org.jkiss.dbeaver.runtime.sql.SQLQueryJob.extractData(SQLQueryJob.java:708)
at org.jkiss.dbeaver.ui.editors.sql.SQLEditor$QueryResultsContainer.readData(SQLEditor.java:1682)
at org.jkiss.dbeaver.ui.controls.resultset.ResultSetJobDataRead.run(ResultSetJobDataRead.java:92)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103)

Users with the same issue

20 times, 6 months ago
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
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.