oracle.jdbc.driver.OracleBufferedStream.read On A BLOB Object With Value empty_blob() Leads To NullPointerException When Using The JDBC 11.2.0.3.0 or 11.2.0.4 Driver (Doc ID 2324268.1)

Last updated on NOVEMBER 02, 2017

Applies to:

JDBC - Version 11.2.0.4.0 and later
Information in this document applies to any platform.

Symptoms

oracle.jdbc.driver.OracleBufferedStream.read on a BLOB object with value empty_blob() leads to NullPointerException when using the JDBC 11.2.0.4 driver.

Issue is specific to JDBC 11.2.0.3 and JDBC 11.2.0.4.
Does not reproduce with JDBC 11.2.0.2 or JDBC 12.1.0.2 and JDBC 12.2.0.1

Code to reproduce the issue:

 

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms