Object reference not set to an instance of an object.
Posted: Mon 07 Mar 2005 19:17
Hi;
We are experiencing an intermittent exception "object reference not set to an instance of an object" that is thrown by OraDirect .NET (v2.5) when our our C# (.NET v1.1) application makes stored procedure calls to our Oracle 8i database. We were unable to find any problems with our application or with the stored procedure. After running a stack trace on the exception we are led to believe that the problem is in the OraDirect driver. I have included the stack track below. I would greatly appreciate any help.
Thanks!
John
Stack Trace =
at DynamicType.nativeOCIEnvCreate(IntPtr& , UInt32 , IntPtr , IntPtr , IntPtr , IntPtr , UInt32 , UInt32 )
at DynamicType.OCIEnvCreate(IntPtr& , UInt32 , IntPtr , IntPtr , IntPtr , IntPtr , UInt32 , UInt32 )
at a.c.q.l()
at a.c.q..ctor(Boolean A_0, Boolean A_1, Boolean A_2)
at a.c.d..ctor(i A_0)
at a.c.k.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
at CoreLab.Common.DbConnectionFactory.a(DbConnectionBase A_0, DbConnectionOptions A_1)
at CoreLab.Common.DbConnectionFactory.a(DbConnectionBase A_0)
at CoreLab.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at CoreLab.Common.DbConnectionBase.Open()
at CoreLab.Oracle.OracleConnection.Open()
We are experiencing an intermittent exception "object reference not set to an instance of an object" that is thrown by OraDirect .NET (v2.5) when our our C# (.NET v1.1) application makes stored procedure calls to our Oracle 8i database. We were unable to find any problems with our application or with the stored procedure. After running a stack trace on the exception we are led to believe that the problem is in the OraDirect driver. I have included the stack track below. I would greatly appreciate any help.
Thanks!
John
Stack Trace =
at DynamicType.nativeOCIEnvCreate(IntPtr& , UInt32 , IntPtr , IntPtr , IntPtr , IntPtr , UInt32 , UInt32 )
at DynamicType.OCIEnvCreate(IntPtr& , UInt32 , IntPtr , IntPtr , IntPtr , IntPtr , UInt32 , UInt32 )
at a.c.q.l()
at a.c.q..ctor(Boolean A_0, Boolean A_1, Boolean A_2)
at a.c.d..ctor(i A_0)
at a.c.k.a(DbConnectionOptions A_0, Object A_1, DbConnectionBase A_2)
at CoreLab.Common.DbConnectionFactory.a(DbConnectionBase A_0, DbConnectionOptions A_1)
at CoreLab.Common.DbConnectionFactory.a(DbConnectionBase A_0)
at CoreLab.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at CoreLab.Common.DbConnectionBase.Open()
at CoreLab.Oracle.OracleConnection.Open()