Page 1 of 1

System.AccessViolationException

Posted: Mon 24 Oct 2011 01:34
by amirela
dotConnect Version: 6.50.228

Periodically i'm getting an error:

Application: Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.Oracle.OracleConnection.Open()
at Common.ConnectionDb.Open()
at Common.Dao.MessageLogDao.SaveApplicationLog(System.DateTime, Int32, System.String, System.String)
at Common.Providers.DbLoggerProvider.Send(System.DateTime, Interfaces.MessageType, System.String, System.String, Common.Providers.LoggerAttachment)
at Common.AppLogger.WriteMessages(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading._TimerCallback.PerformTimerCallback(System.Object)

Posted: Tue 25 Oct 2011 09:47
by Shalex
1. Describe your application and tell us the way how we can reproduce the error in our environment.
2. Is there any inner exception?
3. Are you using OCI (via Oracle client) or Direct mode?

Posted: Wed 26 Oct 2011 08:37
by amirela
1. Application stands in as a win-service. This error appears serially, when connecting Oracle (it's unable to catch because it could no appear several days.. could depend on DB-load) (Pooling=true)
2. Exception is unable to catch, because it likely appeares in a separate thread and immideately calls an application fail.
3. Oracle Client 10 x64

Posted: Mon 31 Oct 2011 11:33
by Shalex
Try using dotConnect for Oracle v 6.50.237 where some problems with the x64 version of Oracle client were fixed: http://www.devart.com/dotconnect/oracle ... story.html.

Posted: Thu 03 Nov 2011 08:38
by amirela
dotConnect Version: 6.50.237

Now, periodically i'm getting an error:

Application: Service.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at Devart.Common.DbConnectionPoolGroup.a(Devart.Common.DbConnectionPool)
at Devart.Common.DbConnectionPoolGroup.a(System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading._TimerCallback.PerformTimerCallback(System.Object)

Posted: Thu 03 Nov 2011 16:21
by Shalex
The bug with returning invalid connections to pool is fixed. We will post here when the corresponding build of dotConnect for Oracle is available for download.

Posted: Fri 11 Nov 2011 16:48
by Shalex
New build of dotConnect for Oracle 6.50.244 is available for download now!
It can be downloaded from http://www.devart.com/dotconnect/oracle/download.html (trial version) or from Registered Users' Area (for users with valid subscription only).
For more information, please refer to http://www.devart.com/forums/viewtopic.php?t=22547 .