My Oracle Support Banner

ODP.NET Managed Provider Throws NullReferenceException When Selecting Single Byte BLOB Data With InitialLOBFetchSize Set To -1 (Doc ID 2104398.1)

Last updated on FEBRUARY 10, 2019

Applies to:

Oracle Data Provider for .NET - Version and later
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)


When application fetches 1 byte data from a BLOB column using ODP.NET Managed provider, it fails with System.NullReferenceException. The issue is not reproducible if it fetches more than 1 byte from BLOB column or while using Unmanaged ODP.NET provider.

Error Stack:


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.