System.NullReferenceException causes IIS Crash

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Citt_jr
Posts: 6
Joined: Wed 28 Sep 2011 08:44

System.NullReferenceException causes IIS Crash

Post by Citt_jr » Mon 14 Nov 2011 08:42

Hy,

I'm getting an unknown TransactionAbortedException in my application, during a query.

__________________________________________________________________________________
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 11/8/2011
Time: 9:52:19 AM
User: N/A
Computer: WBINTFR08336
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/8/2011 9:52:19 AM
Event time (UTC): 11/8/2011 8:52:19 AM
Event ID: 63c84e2b23e642d5816026ef3d5414a7
Event sequence: 54
Event occurrence: 1
Event detail code: 0

Exception information:
Exception type: TransactionAbortedException
Exception message: The transaction has aborted.


A few time after this first error, i'm getting an System.NullReferenceException in a Devart callback component that causes me an IIS Crash :

Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1334
Date: 11/8/2011
Time: 9:52:20 AM
User: N/A
Computer: WBINTFR08336
Description:
An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/359706604/Root

Process ID: 4448

Exception: System.NullReferenceException

Message: Object reference not set to an instance of an object.

StackTrace: at Devart.Common.w.d()
at Devart.Common.w.a(Enlistment A_0)
at System.Transactions.VolatileEnlistmentAborting.EnterState(InternalEnlistment enlistment)
at System.Transactions.VolatileEnlistmentActive.InternalAborted(InternalEnlistment enlistment)
at System.Transactions.TransactionStateAborted.EnterState(InternalTransaction tx)
at System.Transactions.TransactionStateActive.Rollback(InternalTransaction tx, Exception e)
at System.Transactions.EnlistableStates.Timeout(InternalTransaction tx)
at System.Transactions.Bucket.TimeoutTransactions()
at System.Transactions.BucketSet.TimeoutTransactions()
at System.Transactions.TransactionTable.ThreadTimer(Object state)
at System.Threading._TimerCallback.TimerCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._TimerCallback.PerformTimerCallback(Object state)
__________________________________________________________________________________
Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 5000
Date: 11/8/2011
Time: 9:52:27 AM
User: N/A
Computer: WBINTFR08336
Description:
EventType clr20r3, P1 w3wp.exe, P2 6.0.3790.3959, P3 45d6968e, P4 devart.data.oracle, P5 6.10.111.0, P6 4d642863, P7 d8e, P8 11, P9 system.nullreferenceexception, P10 NIL.


Can anyone help in understating that's causing this issue in order to not have this in Production environnement?

P.S : I'm using Devart dotConnect for Oracle Professional V6.10.111.0.

Thanks.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Post by Pinturiccio » Tue 15 Nov 2011 14:13

Could you please create and send us a small sample that reproduces this issue?

Citt_jr
Posts: 6
Joined: Wed 28 Sep 2011 08:44

Post by Citt_jr » Thu 17 Nov 2011 16:53

Hello,

We think this problem is the same that an other already encountered in an older version.
Could you tell us how the bug listed can be reproduce :
"Fixed bug with exception in TransactionScope in case of enabled Microsoft Distributed Transaction Coordinator (MSDTC)"

Thank you

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Post by Pinturiccio » Fri 18 Nov 2011 12:46

We are investigating the situation and will inform you about the results.

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Post by Pinturiccio » Fri 18 Nov 2011 15:48

This bug is fixed in 6.10.135 and later versions of dotConnect for Oracle.

Post Reply