java.sql.SQLException

I/O Error: Stream 5 attempting to read when no request has been sent

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web17

  • via GitHub by jaschweder
    ,
  • Stack trace

    • java.sql.SQLException: I/O Error: Stream 5 attempting to read when no request has been sent at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2481) at net.sourceforge.jtds.jdbc.TdsCore.getNextRow(TdsCore.java:805) at net.sourceforge.jtds.jdbc.JtdsResultSet.next(JtdsResultSet.java:611) at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCResultSetImpl.next(JDBCResultSetImpl.java:285) at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.loadSchemas(GenericDataSource.java:461) at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.initialize(GenericDataSource.java:417) at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:708) at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:74) at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:103) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Caused by: java.io.IOException: Stream 5 attempting to read when no request has been sent at net.sourceforge.jtds.jdbc.SharedSocket.getNetPacket(SharedSocket.java:724) at net.sourceforge.jtds.jdbc.ResponseStream.getPacket(ResponseStream.java:477) at net.sourceforge.jtds.jdbc.ResponseStream.read(ResponseStream.java:146) at net.sourceforge.jtds.jdbc.ResponseStream.readString(ResponseStream.java:301) at net.sourceforge.jtds.jdbc.ResponseStream.readNonUnicodeString(ResponseStream.java:272) at net.sourceforge.jtds.jdbc.TdsCore.tds5WideResultToken(TdsCore.java:2587) at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2378) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,