ODP.NET Managed Provider Throws "Index was out of range" Exception While Fetching Combination Of Null and XmlType Data (Doc ID 2103781.1)

Last updated on FEBRUARY 10, 2016

Applies to:

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

Symptoms

ODP.NET Managed provider throws  "Index was out of range" exception when application try to fetch combination of NULL value for the XMLType column and rows that have data in the XMLType column.
Issue does not occur when fetching only null column or XmlType data column.

Exception:

 

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