9.2.187.2 GetBytes() NullReferenceException

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
BoyarskiyA
Posts: 3
Joined: Wed 20 Apr 2011 12:27

9.2.187.2 GetBytes() NullReferenceException

Post by BoyarskiyA » Tue 24 Jan 2017 11:23

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

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: 9.2.187.2 GetBytes() NullReferenceException

Post by Pinturiccio » Wed 25 Jan 2017 12:16

We have reproduced the issue. We will investigate it and post here about the results as soon as possible.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: 9.2.187.2 GetBytes() NullReferenceException

Post by Pinturiccio » Wed 08 Feb 2017 15:04

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.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Re: 9.2.187.2 GetBytes() NullReferenceException

Post by Pinturiccio » Thu 09 Feb 2017 17:17

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

Post Reply