java.sql.SQLException: Io exception: Got minus one from a read call

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 Oracle Community by 807596, 1 year ago
Io exception: Got minus one from a read call
via Oracle Community by 653376, 1 year ago
Io exception: Got minus one from a read call
via Oracle Community by 474169, 1 year ago
Io exception: Got minus one from a read call
via Oracle Community by 452800, 1 year ago
Io exception: Invalid connection string format, a valid format is: "host:port:sid"
via Oracle Community by 609800, 1 year ago
Io exception: The Network Adapter could not establish the connection
via Oracle Community by 934595, 1 year ago
Io exception: The Network Adapter could not establish the connection
java.sql.SQLException: Io exception: Got minus one from a read call
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:420)
at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:165)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at oracledatabasemetadata.DatabaseMetaDataSample.main(DatabaseMetaDataSample.java:34)

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, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
96 more bugmates

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