Index was outside the bounds of the array
Posted: Wed 02 Nov 2011 14:42
Hello.
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)
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)