Index was outside the bounds of the array

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 15
Joined: Tue 14 Jul 2009 13:56

Index was outside the bounds of the array

Post by mars » Wed 02 Nov 2011 14:42


Sometimes, under high load with the DBMonitor working on, we get the next error:

Index was outside the bounds of the array.
Exception type: IndexOutOfRangeException
Version 6.50.237

Under version 6.30.160 error doesn't reproduce.

Stack trace:
at System.Collections.Generic.Dictionary`2.Resize()
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Devart.Common.DbMonitor.a(DbMonitor A_0, Object A_1, MonitorEventArgs A_2, Boolean A_3)
at Devart.Data.Oracle.OracleCommand.set_DbConnection(DbConnection value)
at Devart.Common.DbConnectionBase.CreateDbCommand()
at Devart.Data.Oracle.OracleConnection.CreateDbCommand()
at Devart.Data.Oracle.OracleConnection.CreateCommand()
at Devart.Data.Oracle.OracleTransaction..ctor(OracleConnection A_0, IsolationLevel A_1)
at Devart.Data.Oracle.OracleConnection.BeginTransaction(IsolationLevel il)
at Devart.Data.Oracle.OracleConnection.BeginDbTransaction(IsolationLevel isolationLevel)
at System.Data.EntityClient.EntityConnection.BeginDbTransaction(IsolationLevel isolationLevel)

Devart Team
Posts: 2192
Joined: Wed 02 Nov 2011 09:44

Post by Pinturiccio » Thu 03 Nov 2011 16:01

Thank you for your report. Unfortunately, we couldn't reproduce your issue. If possible, please send us a complete small sample, with which the issue can be reproduced, including the script to create the necessary database objects.
You can send us the files using our contact form:

Post Reply