IIS Crashes because of Null reference exception in Rollback

IIS Crashes because of Null reference exception in Rollback

Postby PeterN » Tue 03 Jul 2012 15:38

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)
PeterN
 
Posts: 2
Joined: Tue 03 Jul 2012 15:02

Re: IIS Crashes because of Null reference exception in Rollback

Postby Pinturiccio » Fri 06 Jul 2012 09:16

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

Re: IIS Crashes because of Null reference exception in Rollback

Postby PeterN » Fri 06 Jul 2012 14:45

Thanks.
PeterN
 
Posts: 2
Joined: Tue 03 Jul 2012 15:02

Re: IIS Crashes because of Null reference exception in Rollback

Postby Pinturiccio » Thu 19 Jul 2012 07:40

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

Re: IIS Crashes because of Null reference exception in Rollback

Postby kyle.kline » Wed 25 Jul 2012 20:29

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
kyle.kline
 
Posts: 2
Joined: Fri 27 Feb 2009 20:04

Re: IIS Crashes because of Null reference exception in Rollback

Postby Shalex » Fri 27 Jul 2012 14:24

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.
Shalex
Devart Team
 
Posts: 7654
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle