[Mono-bugs] [Bug 45990][Wis] New - nullreferenceexception when array is certain size
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Tue, 8 Jul 2003 15:19:19 -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 aherscovici@empirix.com.
http://bugzilla.ximian.com/show_bug.cgi?id=45990
--- shadow/45990 Tue Jul 8 15:19:18 2003
+++ shadow/45990.tmp.27847 Tue Jul 8 15:19:18 2003
@@ -0,0 +1,40 @@
+Bug#: 45990
+Product: Mono/Runtime
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: aherscovici@empirix.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: nullreferenceexception when array is certain size
+
+The exception is thrown only when the array is of the size in the example
+or bigger. If you cut out a row my program hangs, and if you cut out two
+rows from the initial value, then it returns the correct value.
+
+Steps to reproduce the problem:
+1. compile code
+2. run exe
+
+Actual Results:
+Unhandled Exception: System.TypeInitializationException: An exception was
+thrown by the type initializer for TestInitialize.testinit --->
+System.NullReferenceException: A null value was found where an object
+instance was required
+in <0x00037> 00 TestInitialize.testinit:.cctor ()
+
+Expected Results:
+Temp should not be nothing: 1
+
+How often does this happen?
+Always
+
+Additional Information: