From time to time our IIS process crashes because of a NullReferenceException in OracleInternalConnection.Rollback method.
We use version 6.60.268.
Anyone an idea?
It seems to be a bug in dotConnect.
The detailed error is:
Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
Stack:
at Devart.Data.Oracle.OracleInternalConnection.Rollback()
at Devart.Common.r.b(System.Transactions.Enlistment)
at System.Transactions.InternalEnlistment.System.Transactions.IEnlistmentNotificationInternal.Rollback(System.Transactions.IPromotedEnlistment)
at System.Transactions.Oletx.OletxVolatileEnlistment.Rollback()
at System.Transactions.Oletx.OletxPhase1VolatileEnlistmentContainer.Aborted()
at System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(System.Object, Boolean)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)
IIS Crashes because of Null reference exception in Rollback
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: IIS Crashes because of Null reference exception in Rollback
We have fixed the bug with NullReferenceException under the transaction rollback of a connection placed into the pool. We will post here when the corresponding build of dotConnect for Oracle is available for download.
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: IIS Crashes because of Null reference exception in Rollback
The new build of dotConnect for Oracle 7.1.40 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://forums.devart.com/viewtopic.php?t=24522
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://forums.devart.com/viewtopic.php?t=24522
-
- Posts: 2
- Joined: Fri 27 Feb 2009 20:04
Re: IIS Crashes because of Null reference exception in Rollback
Hi - we were seeing this error, and were hoping that 7.1.40 would fix our error. While testing the upgrade, we hit an exception that is VERY similar - different exception with the same stack trace:
Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Devart.Data.Oracle.OracleException
Stack:
at Devart.Data.Oracle.OracleInternalConnection.Rollback()
at Devart.Common.s.b(System.Transactions.Enlistment)
at System.Transactions.InternalEnlistment.System.Transactions.IEnlistmentNotificationInternal.Rollback(System.Transactions.IPromotedEnlistment)
at System.Transactions.Oletx.OletxVolatileEnlistment.Rollback()
at System.Transactions.Oletx.OletxPhase1VolatileEnlistmentContainer.Aborted()
at System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(System.Object, Boolean)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)
Has anyone else seen this? For those who had the original exception, has the upgrade fixed your problem?
Thanks,
Kyle
Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: Devart.Data.Oracle.OracleException
Stack:
at Devart.Data.Oracle.OracleInternalConnection.Rollback()
at Devart.Common.s.b(System.Transactions.Enlistment)
at System.Transactions.InternalEnlistment.System.Transactions.IEnlistmentNotificationInternal.Rollback(System.Transactions.IPromotedEnlistment)
at System.Transactions.Oletx.OletxVolatileEnlistment.Rollback()
at System.Transactions.Oletx.OletxPhase1VolatileEnlistmentContainer.Aborted()
at System.Transactions.Oletx.OletxTransactionManager.ShimNotificationCallback(System.Object, Boolean)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(System.Object, Boolean)
Has anyone else seen this? For those who had the original exception, has the upgrade fixed your problem?
Thanks,
Kyle
Re: IIS Crashes because of Null reference exception in Rollback
w3wp.exe shows us only a high-level exception (and without the content of its Message property). Please wrap your code in the try..catch block, find out the deepest inner exception and post here its Message property which describes the problem.