Page 1 of 1

OracleDataReader.Read returns a System.NullReferenceException

Posted: Wed 14 Feb 2007 13:51
by Brutus
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?

Posted: Thu 15 Feb 2007 08:33
by Alexey
We will fix this in OraDirect .NET 3.55.20.
Look forward to the build.