[Mono-bugs] [Bug 81757][Nor] New - [2.0] IndexOutOfRangeException in ResourceReader.ReadValueVer2

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 28 08:25:49 EDT 2007


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 gert.driesen at pandora.be.

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

--- shadow/81757	2007-05-28 08:25:49.000000000 -0400
+++ shadow/81757.tmp.17672	2007-05-28 08:25:49.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 81757
+Product: Mono: Class Libraries
+Version: 1.2
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [2.0] IndexOutOfRangeException in ResourceReader.ReadValueVer2
+
+Running the attached repro result in the following exception:
+
+Unhandled Exception: System.IndexOutOfRangeException: Array index is out 
+of range.
+  at System.Resources.ResourceReader.ReadValueVer2 (Int32 type_index) 
+[0x00000]
+  at System.Resources.ResourceReader.ResourceValue (Int32 index) [0x00000]
+  at System.Resources.ResourceReader+ResourceEnumerator.get_Value () 
+[0x00000]
+  at System.Resources.ResourceSet.ReadResources () [0x00000]
+  at System.Resources.ResourceSet.GetObject (System.String name, Boolean 
+ignoreCase) [0x00000]
+  at System.Resources.ResourceManager.GetObject (System.String name, 
+System.Globalization.CultureInfo culture) [0x00000]
+  at System.Resources.ResourceManager.GetObject (System.String name) 
+[0x00000]
+  at test.Main () [0x00000]
+
+To reproduce:
+1. extract the attached gzipped tar archive.
+2. run 'make'.


More information about the mono-bugs mailing list