Page 1 of 1

9.2.187.2 GetBytes() NullReferenceException

Posted: Tue 24 Jan 2017 11:23
by BoyarskiyA
Help to solve a problem

at Devart.Data.Oracle.bk.ah(Int32 A_0, Byte[] A_1, Int32 A_2, Int32 A_3)
at Devart.Data.Oracle.bk.af(Int32 A_0, Byte[] A_1, Int32 A_2, Int32 A_3)
at Devart.Data.Oracle.OracleDataReader.GetBytes(Int32 i, Int64 fieldOffset, Byte[] buffer, Int32 bufferOffset, Int32 length)

int bufferSize = 262144;
int bytesRead;
while ((bytesRead = (int)dataReader.GetBytes(5, offset, blob, 0, bufferSize)) > 0)
{
offset += bytesRead; FileDownload(GetStep(fileStep));
}

This code worked in the version 7.3.132.2

Re: 9.2.187.2 GetBytes() NullReferenceException

Posted: Wed 25 Jan 2017 12:16
by Pinturiccio
We have reproduced the issue. We will investigate it and post here about the results as soon as possible.

Re: 9.2.187.2 GetBytes() NullReferenceException

Posted: Wed 08 Feb 2017 15:04
by Pinturiccio
We have fixed the bug with throwing NRE when using the GetBytes method of an OracleDataReader object. We will post here when the corresponding build of dotConnect for Oracle is available for download.

Re: 9.2.187.2 GetBytes() NullReferenceException

Posted: Thu 09 Feb 2017 17:17
by Pinturiccio
New build of dotConnect for Oracle 9.2.205 is available for download!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to viewtopic.php?t=34950