[
https://issues.apache.org/jira/browse/IGNITE-18627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680487#comment-17680487
]
Igor Sapego commented on IGNITE-18627:
--------------------------------------
[~ptupitsyn] looks good to me.
> .NET: Thin 3.0: IndexOutOfRangeException when reading empty result set with
> IgniteDbDataReader
> ----------------------------------------------------------------------------------------------
>
> Key: IGNITE-18627
> URL: https://issues.apache.org/jira/browse/IGNITE-18627
> Project: Ignite
> Issue Type: Bug
> Components: platforms, thin client
> Affects Versions: 3.0.0-beta1
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Critical
> Labels: .NET, ignite-3
> Fix For: 3.0.0-beta2
>
>
> {code}
> System.IndexOutOfRangeException
> HResult=0x80131508
> Message=Index was outside the bounds of the array.
> Source=Apache.Ignite
> StackTrace:
> at Apache.Ignite.Internal.Proto.MsgPack.MsgPackReader.ReadBinaryHeader()
> in Apache.Ignite.Internal.Proto.MsgPack\MsgPackReader.cs:line 226
> at
> Apache.Ignite.Sql.IgniteDbDataReader.<FetchNextPage>g__ReadFirstRowInCurrentPage|62_0()
> in Apache.Ignite.Sql\IgniteDbDataReader.cs:line 536
> at Apache.Ignite.Sql.IgniteDbDataReader.<FetchNextPage>d__62.MoveNext() in
> Apache.Ignite.Sql\IgniteDbDataReader.cs:line 530
> at Apache.Ignite.Sql.IgniteDbDataReader.Read() in
> Apache.Ignite.Sql\IgniteDbDataReader.cs:line 310
> at System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
> at System.Data.Common.DataAdapter.FillFromReader(DataSet dataset,
> DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32
> startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object
> parentChapterValue)
> at System.Data.Common.DataAdapter.Fill(DataTable[] dataTables, IDataReader
> dataReader, Int32 startRecord, Int32 maxRecords)
> at System.Data.DataTable.Load(IDataReader reader, LoadOption loadOption,
> FillErrorEventHandler errorHandler)
> at System.Data.DataTable.Load(IDataReader reader)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)