OracleDataReader.Read returns a System.NullReferenceException

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Brutus
Posts: 3
Joined: Mon 12 Feb 2007 11:15
Location: Almere, The Netherlands

OracleDataReader.Read returns a System.NullReferenceException

Post by Brutus » Wed 14 Feb 2007 13:51

Call the method 'ExecuteReader()' on a command that calls a stored procedure which does not return a recordset(cursor).
The result is an OracleDataReader.
A call of the method 'Read()' on the datareader results in the NullReferenceException.

The property HasRows returns this exception too.

(Version 2.50 didn't throw an exception but returned '0' for 'HasRows' and 'false' for 'Read()')

Is this a bug?

Alexey
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Post by Alexey » Thu 15 Feb 2007 08:33

We will fix this in OraDirect .NET 3.55.20.
Look forward to the build.

Post Reply