System.IndexOutOfRangeException during connection

System.IndexOutOfRangeException during connection

Postby slaxman » Thu 09 Apr 2015 14:15

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()
slaxman
 
Posts: 47
Joined: Wed 16 Sep 2009 20:09
Location: United States

Re: System.IndexOutOfRangeException during connection

Postby Pinturiccio » Fri 10 Apr 2015 14:13

slaxman wrote:This happens once in a while in production. It is not reproducing in dev setup.

It's necessary to localize the issue and find out what steps to perform in order to reproduce it.

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?
Pinturiccio
Devart Team
 
Posts: 1930
Joined: Wed 02 Nov 2011 09:44

Re: System.IndexOutOfRangeException during connection

Postby slaxman » Fri 10 Apr 2015 20:27

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
slaxman
 
Posts: 47
Joined: Wed 16 Sep 2009 20:09
Location: United States

Re: System.IndexOutOfRangeException during connection

Postby Pinturiccio » Tue 14 Apr 2015 10:58

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.

slaxman wrote:we are testing our application with 8.4.333 currently.

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.
Pinturiccio
Devart Team
 
Posts: 1930
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for Oracle