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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80931 --- 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 +Resolution: +Severity: +Priority: Normal +Component: misc +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +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 + +System.ArgumentOutOfRangeException + + at System.Windows.Forms.ListView+ListViewItemCollection.get_Item (Int32 +displayIndex) [0x00000] + at ᝼.ᜁ (System.Object A_0, System.Windows.Forms.LabelEditEventArgs A_1) +[0x00000] + at (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_LabelEditEventArgs +(object,System.Windows.Forms.LabelEditEventArgs) + 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) +System.MulticastDelegate:invoke_void_object_MouseEventArgs +(object,System.Windows.Forms.MouseEventArgs) + at System.Windows.Forms.Control.OnMouseDown +(System.Windows.Forms.MouseEventArgs e) [0x00000] + at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) +[0x00000] + 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 5.0.0.0 +.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? +Always. + +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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
