mail-archives/mono-bugs/2004-June/017809.html

116 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 60613][Nor] New - NullReferenceException in OracleDataReader.GetSchemaTable
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="017807.html">
<LINK REL="Next" HREF="017808.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 60613][Nor] New - NullReferenceException in OracleDataReader.GetSchemaTable
</H1>
<B>bugzilla-daemon@bugzilla.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
TITLE="[Mono-bugs] [Bug 60613][Nor] New - NullReferenceException in OracleDataReader.GetSchemaTable">bugzilla-daemon@bugzilla.ximian.com
</A><BR>
<I>Wed, 23 Jun 2004 05:29:46 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="017807.html">[Mono-bugs] [Bug 60612][Nor] New - [FIX] null exception causes crash on startup
</A></li>
<LI> Next message: <A HREF="017808.html">[Mono-bugs] [Bug 60613][Nor] Changed - NullReferenceException in OracleDataReader.GetSchemaTable
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17809">[ date ]</a>
<a href="thread.html#17809">[ thread ]</a>
<a href="subject.html#17809">[ subject ]</a>
<a href="author.html#17809">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:joergr@voelcker.com.">joergr@voelcker.com.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=60613">http://bugzilla.ximian.com/show_bug.cgi?id=60613</A>
--- 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: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+ReportedBy: <A HREF="mailto:JoergR@voelcker.com">JoergR@voelcker.com</A>
+QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
+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:
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="017807.html">[Mono-bugs] [Bug 60612][Nor] New - [FIX] null exception causes crash on startup
</A></li>
<LI> Next message: <A HREF="017808.html">[Mono-bugs] [Bug 60613][Nor] Changed - NullReferenceException in OracleDataReader.GetSchemaTable
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#17809">[ date ]</a>
<a href="thread.html#17809">[ thread ]</a>
<a href="subject.html#17809">[ subject ]</a>
<a href="author.html#17809">[ author ]</a>
</LI>
</UL>
</body></html>