[Mono-bugs] [Bug 60613][Maj] Changed - NullReferenceException in OracleDataReader.GetSchemaTable caused by JIT optimizations
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 24 Jun 2004 03:35:23 -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 22:00:26.000000000 -0400
+++ shadow/60613.tmp.22662 2004-06-24 03:35:23.000000000 -0400
@@ -63,6 +63,19 @@
The exception is thrown when default optimizations are used
mono OracleGetSchemaTable.exe
------- Additional Comments From miguel@ximian.com 2004-06-23 22:00 -------
Is it possible to extract the code necessary to not require Oracle?
+
+------- Additional Comments From JoergR@voelcker.com 2004-06-24 03:35 -------
+This would require another test case showing this behaviour because it
+happens directly in System.Data.OracleClient. As I wrote in my mail,
+uncommenting the line
+
+ row ["NumericPrecision"] = parameter.GetPrecision ();
+
+in OracleDataReader.GetSchemaTable also "fixes" this problem. And this
+line doesn't work without Oracle connection.
+
+I'll try to run it with gdb to get a stacktrace.
+