Bugzilla – Bug 312561
nullreferenceexception when array is certain size
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by aherscovici@empirix.com 2003-07-08 15:19:18 MST ---- 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: ---- Additional Comments From aherscovici@empirix.com 2003-07-08 15:19:47 MST ---- Created an attachment (id=164791) code that causes error ---- Additional Comments From bmaurer@users.sf.net 2003-07-10 10:30:10 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO45817 *** Imported an attachment (id=164791) This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"