[Mono-bugs] [Bug 60613][Nor] New - NullReferenceException in OracleDataReader.GetSchemaTable

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 23 Jun 2004 05:29:46 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joergr@voelcker.com.

http://bugzilla.ximian.com/show_bug.cgi?id=60613

--- shadow/60613	2004-06-23 05:29:46.000000000 -0400
+++ shadow/60613.tmp.8083	2004-06-23 05:29:46.000000000 -0400
@@ -0,0 +1,52 @@
+Bug#: 60613
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Suse 8.2
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Data
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: JoergR@voelcker.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: NullReferenceException in OracleDataReader.GetSchemaTable
+
+Description of Problem:
+A NullReferenceException is raised when calling
+OracleDataReader.GetSchemaTable.
+
+Steps to reproduce the problem:
+1. Replace connection string in attached sample
+2. Compile 
+3. Run
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in [0x0007b] (at
+/home/viadmin/mono/mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci/OciHandle.cs:182)
+System.Data.OracleClient.Oci.OciHandle:GetAttributeSByte
+(System.Data.OracleClient.Oci.OciAttributeType,System.Data.OracleClient.Oci.OciErrorHandle)
+in [0x00008] (at
+/home/viadmin/mono/mcs/class/System.Data.OracleClient/System.Data.OracleClient.Oci/OciParameterDescriptor.cs:137)
+System.Data.OracleClient.Oci.OciParameterDescriptor:GetScale ()
+in [0x000c1] (at
+/home/viadmin/mono/mcs/class/System.Data.OracleClient/System.Data.OracleClient/OracleDataReader.cs:389)
+System.Data.OracleClient.OracleDataReader:GetSchemaTable ()
+in [0x00035] (at
+/home/viadmin/projekte/Prototypes/Joerg/Mono/Mono-Bugs/OracleGetSchemaTable.cs:25)
+Bug.MainClass:Main (string[])
+
+
+Expected Results:
+No exception.
+
+How often does this happen? 
+Always.
+
+Additional Information: