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=79758 --- shadow/79758 2006-10-27 13:36:59.000000000 -0400 +++ shadow/79758.tmp.10869 2006-10-27 13:36:59.000000000 -0400 @@ -0,0 +1,126 @@ +Bug#: 79758 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: nunit-gui: exiting + +nunit swallows this exception and exits, but to reproduce it is pretty easy. + +get nunit 2.4 + +project -> Edit + +from that dialog, click "Edit Configs" + +in the new dialog, click "Close". + +program should exit. Adding CWL's to Exception..ctor yields the following +cause: + + at System.Exception..ctor () + at System.SystemException..ctor () + at System.ArgumentException..ctor () in +/home/toshok/src/mono/mcs/class/corlib/System/ArgumentException.cs:line 65 + at System.ArgumentOutOfRangeException..ctor () in +/home/toshok/src/mono/mcs/class/corlib/System/ArgumentOutOfRangeException.cs:line +54 + at System.Windows.Forms.ListBox.set_SelectedIndex () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs:line +424 + at NUnit.Gui.ProjectEditor.assemblyListBox_Populate () + at NUnit.Gui.ProjectEditor.configComboBox_SelectedIndexChanged () + at System.MulticastDelegate.invoke_void_object_EventArgs () + at System.Windows.Forms.ComboBox.OnSelectedIndexChanged () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:line +820 + at System.Windows.Forms.ComboBox.set_SelectedIndex () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ComboBox.cs:line +406 + at NUnit.Gui.ProjectEditor.configComboBox_Populate () + at NUnit.Gui.ProjectEditor.editConfigsButton_Click () + at System.MulticastDelegate.invoke_void_object_EventArgs () + at System.Windows.Forms.Control.OnClick () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line +4330 + at System.Windows.Forms.Button.OnClick () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:line +95 + at System.Windows.Forms.ButtonBase.OnMouseUp () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:line +471 + at System.Windows.Forms.Button.OnMouseUp () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:line +99 + at System.Windows.Forms.Control.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line +4040 + at System.Windows.Forms.ButtonBase.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ButtonBase.cs:line +526 + at System.Windows.Forms.Button.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Button.cs:line +112 + at System.Windows.Forms.Control+ControlNativeWindow.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line +165 + at System.Windows.Forms.NativeWindow.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:line +159 + at System.Windows.Forms.XplatUIX11.DispatchMessage () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:line +2858 + at System.Windows.Forms.XplatUI.DispatchMessage () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:line +428 + at System.Windows.Forms.Application.RunLoop () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:line +530 + at System.Windows.Forms.Form.ShowDialog () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:line +1260 + at NUnit.Gui.NUnitForm.editProjectMenuItem_Click () + at System.MulticastDelegate.invoke_void_object_EventArgs () + at System.Windows.Forms.MenuItem.OnClick () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:line +456 + at System.Windows.Forms.MenuItem.PerformClick () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuItem.cs:line +496 + at System.Windows.Forms.MenuTracker.OnMouseUp () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs:line +186 + at System.Windows.Forms.Form.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:line +1920 + at System.Windows.Forms.Control+ControlNativeWindow.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:line +165 + at System.Windows.Forms.NativeWindow.WndProc () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:line +159 + at System.Windows.Forms.XplatUIX11.DispatchMessage () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:line +2858 + at System.Windows.Forms.XplatUI.DispatchMessage () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:line +428 + at System.Windows.Forms.Application.RunLoop () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:line +530 + at System.Windows.Forms.Application.Run () in +/home/toshok/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:line +421 + at NUnit.Gui.AppEntry.Main () + at NUnit.Gui.Class1.Main () _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
