My Oracle Support Banner

IO Protocol Violation Error When Fetching Long Column (Doc ID 1313872.1)

Last updated on MARCH 10, 2019

Applies to:

JDBC - Version to [Release 11.2]
Information in this document applies to any platform.


The application is throwing the following stack error when getting a long column:

java.sql.SQLRecoverableException: IO Error: Protocol violation
at oracle.jdbc.driver.OracleStatement.freeLine(
at oracle.jdbc.driver.PhysicalConnection.needLineUnchecked(
at oracle.jdbc.driver.PhysicalConnection.needLine(
at oracle.jdbc.driver.OracleStatement.hardClose(
at oracle.jdbc.driver.OracleStatement.hardClose(
at oracle.jdbc.driver.OraclePreparedStatement.hardClose(
at oracle.jdbc.driver.OracleStatement.closeOrCache(
at oracle.jdbc.driver.OracleStatement.close(
at oracle.jdbc.driver.OracleStatementWrapper.close(
at oracle.jdbc.driver.OraclePreparedStatementWrapper.close(
Caused by: Protocol violation
at oracle.jdbc.driver.OracleInputStream.needBytes(
at oracle.jdbc.driver.OracleInputStream.close(
at oracle.jdbc.driver.OracleStatement.freeLine(
... 10 more
Caused by: java.sql.SQLException: Protocol violation
at oracle.jdbc.driver.T4CTTIfun.receive(
at oracle.jdbc.driver.T4CTTIfun.resumeReceive(
at oracle.jdbc.driver.T4C8Oall.continueReadRow(
at oracle.jdbc.driver.T4CPreparedStatement.continueReadRow(
at oracle.jdbc.driver.T4CLongAccessor.fetchNextColumns(
at oracle.jdbc.driver.OracleInputStream.needBytes(
... 12 more




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.