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=77234 --- shadow/77234 2006-01-12 17:57:52.000000000 -0500 +++ shadow/77234.tmp.16982 2006-01-12 17:57:52.000000000 -0500 @@ -0,0 +1,84 @@ +Bug#: 77234 +Product: Mono: Class Libraries +Version: 1.1 +OS: +OS Details: amd64 +Status: NEW +Resolution: +Severity: +Priority: Major +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: nunit-gui: nunit-gui 2.2.5 crashes on startup + +Steps to reproduce the problem: +1. download nunit 2.2.5 from www.nunit.org +2. run nunit-gui.exe v2.2.5 under mono + + +Actual Results: +crash. +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object +in [0x00007] +(at /home/matt/src/nunit/src/GuiRunner/nunit-gui/NUnitForm.cs:1460) +NUnit.Gui.NUnitForm:NUnitForm_Load (System.Object sender, +System.EventArgs e) +in (wrapper delegate-invoke) +System.MulticastDelegate:invoke_void_object_EventArgs +(object,System.EventArgs) +in [0x00013] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1274) +System.Windows.Forms.Form:OnLoad (System.EventArgs e) +in [0x000ff] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1229) +System.Windows.Forms.Form:OnCreateControl () +in [0x00075] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2488) +System.Windows.Forms.Control:CreateControl () +in [0x000e6] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3512) +System.Windows.Forms.Control:SetVisibleCore (Boolean value) +in [0x00002] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1442) +System.Windows.Forms.Form:SetVisibleCore (Boolean value) +in [0x00002] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2197) +System.Windows.Forms.Control:set_Visible (Boolean value) +in [0x00013] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2982) +System.Windows.Forms.Control:Show () +in (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:Show +() +in [0x00028] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:313) +System.Windows.Forms.Application:RunLoop (Boolean Modal, +System.Windows.Forms.ApplicationContext context) +in [0x00007] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:292) +System.Windows.Forms.Application:Run (System.Windows.Forms.Form mainForm) +in [0x0018e] +(at /home/matt/src/nunit/src/GuiRunner/nunit-gui/AppEntry.cs:108) +NUnit.Gui.AppEntry:Main (System.String[] args) +in [0x00001] +(at /home/matt/src/nunit/src/GuiRunner/nunit-gui-exe/Class1.cs:17) +NUnit.Gui.Class1:Main (System.String[] args) + + + +Expected Results: +should start up as indicated in test plan: +http://www.mono-project.com/WinFormsTestPlan + +How often does this happen? +every time. + +Additional Information: + The crash happens because NUnitForm_Load() is called before +InitializeComponent(), leaving a bunch of private member variables +uninitialized. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
