java.sql.SQLException: I/O Error: The handle is invalid. at net.sourceforge.jtds.jdbc.TdsCore.executeSQL (TdsCore.java:837) at net.sourceforge.jtds.jdbc.MSCursorResultSet.cursorCreate (MSCursorResultSet.java:338) at net.sourceforge.jtds.jdbc.MSCursorResultSet.<init> (MSCursorResultSet.java:129) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery (JtdsStatement.java:246) at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuer y(JtdsPreparedStatement.java:612)

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 jtds by petesl
, 1 year ago
I/O Error: The handle is invalid. at net.sourceforge.jtds.jdbc.TdsCore.executeSQL (TdsCore.java:837) at net.sourceforge.jtds.jdbc.MSCursorResultSet.cursorCreate (MSCursorResultSet.java:338) at net.sourceforge.jtds.jdbc.MSCursorResultSet.<init
java.sql.SQLException: I/O Error: The handle is invalid. at net.sourceforge.jtds.jdbc.TdsCore.executeSQL (TdsCore.java:837) at net.sourceforge.jtds.jdbc.MSCursorResultSet.cursorCreate (MSCursorResultSet.java:338) at net.sourceforge.jtds.jdbc.MSCursorResultSet.<init> (MSCursorResultSet.java:129) at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery (JtdsStatement.java:246) at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuer y(JtdsPreparedStatement.java:612)
at jcifs.smb.SmbTransport.send(SmbTransport.java:668)
at jcifs.smb.SmbSession.send(SmbSession.java:154)
at jcifs.smb.SmbTree.send(SmbTree.java:103)
at jcifs.smb.SmbFile.send(SmbFile.java:724)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

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