This happens once in a while in production. It is not reproducing in dev setup. We are using dotconnect for Oracle 8.3.161.6. Any thoughts?
---------
INNER EXCEPTION (System.IndexOutOfRangeException): Index was outside the bounds of the array.
Stack Trace: at Devart.Data.Oracle.DirectUtils.a(String A_0, String A_1)
at Devart.Data.Oracle.g.a()
at Devart.Data.Oracle.b0.a(String A_0, Int32 A_1, String A_2, String A_3)
at Devart.Data.Oracle.c6.a(b2 A_0, Boolean A_1)
at Devart.Data.Oracle.c6.a(b2 A_0, q A_1)
at Devart.Data.Oracle.OracleInternalConnection..ctor(b2 connectionOptions, OracleInternalConnection proxyConnection)
at Devart.Data.Oracle.aq.a(m A_0, Object A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, m A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
at Devart.Common.DbConnectionFactory.b(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.Oracle.OracleConnection.Open()
at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext](TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
at System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext)
at System.Data.Entity.Core.EntityClient.EntityConnection.Open()
System.IndexOutOfRangeException during connection
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: System.IndexOutOfRangeException during connection
It's necessary to localize the issue and find out what steps to perform in order to reproduce it.slaxman wrote:This happens once in a while in production. It is not reproducing in dev setup.
Please also tell us which operating system is used on the user computer and which Oracle version is used.
If possible, try using the latest version of dotConnect for Oracle.
It can be downloaded at http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
Is the issue reproduced with the latest version?
Re: System.IndexOutOfRangeException during connection
we are testing our application with 8.4.333 currently. It fixes a multithreaded connection pool issue mentioned below as per your rev. history. This System.IndexOutOfRangeException problem seems to be related. do you think moving to 8.4.333 will help?
---------------
8.4.333 15-Jan-15
•The bug with throwing System.InvalidOperationException by Devart connection pooling in multithreaded applications under high loads is fixed
---------------
8.4.333 15-Jan-15
•The bug with throwing System.InvalidOperationException by Devart connection pooling in multithreaded applications under high loads is fixed
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: System.IndexOutOfRangeException during connection
We are not sure if 8.4.333 fixes the System.IndexOutOfRangeException issue because we are unable to reproduce it and find out the reason of the issue.
Since you already test the 8.4.333 version, please try using your application with this version for some time and check whether the issue is fixed. Please tell us about the results.slaxman wrote:we are testing our application with 8.4.333 currently.