[Mono-bugs] [Bug 80931][Nor] New - .NET Reflector ListView Exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 22 07:04:49 EST 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 jamie.cansdale at testdriven.net.


--- shadow/80931	2007-02-22 07:04:49.000000000 -0500
+++ shadow/80931.tmp.8325	2007-02-22 07:04:49.000000000 -0500
@@ -0,0 +1,76 @@
+Bug#: 80931
+Product: Mono: Runtime
+Version: 1.2
+OS: All
+OS Details: SuSE 6.4
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: jamie.cansdale at testdriven.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: .NET Reflector ListView Exception
+Steps to reproduce the problem:
+1. mono Reflector.exe
+2. Remove all loaded assemblies.
+3. File/Open List
+4. Select --Default--
+I've tested using Vista and openSUSI and get similar results in both.
+Actual Results:
+Argument is out of range.
+Parameter name: displayIndex
+  at System.Windows.Forms.ListView+ListViewItemCollection.get_Item (Int32
+displayIndex) [0x00000] 
+  at ᝼.ᜁ (System.Object A_0, System.Windows.Forms.LabelEditEventArgs A_1)
+  at (wrapper delegate-invoke)
+  at System.Windows.Forms.ListView.OnBeforeLabelEdit
+(System.Windows.Forms.LabelEditEventArgs e) [0x00000] 
+  at System.Windows.Forms.ListView+ItemControl.BeginEdit
+(System.Windows.Forms.ListViewItem item) [0x00000] 
+  at System.Windows.Forms.ListView+ItemControl.ItemsMouseDown
+(System.Object sender, System.Windows.Forms.MouseEventArgs me) [0x00000] 
+  at (wrapper delegate-invoke)
+  at System.Windows.Forms.Control.OnMouseDown
+(System.Windows.Forms.MouseEventArgs e) [0x00000] 
+  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
+  at System.Windows.Forms.ListView+ItemControl.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
+(System.Windows.Forms.Message& m) [0x00000] 
+  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg,
+IntPtr wParam, IntPtr lParam) [0x00000] 
+.NET Reflector
+.NET Framework 1.1.4322.2032
+Microsoft Windows NT 6.0.6000.0
+Expected Results:
+List of available frameworks should appear.
+How often does this happen? 
+Additional Information:
+It looks like the selected item isn't being set to null when the last item
+is removed from the list. The ListViewItemCollection then tries to access
+an item that no longer exists.

More information about the mono-bugs mailing list