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=77864 --- shadow/77864 2006-03-21 13:33:04.000000000 -0500 +++ shadow/77864.tmp.17909 2006-03-21 13:33:04.000000000 -0500 @@ -0,0 +1,97 @@ +Bug#: 77864 +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: crash when nagivating tests tree after loading and running 2 test assemblies + +Steps to reproduce the problem: +1. run nunit-gui 2.2.7 +2. File->Open nunit.mocks.tests.dll +3. click Run +(they should all pass -- green bar) +4. expand all the nodes in the tests tree +5. collapse all the nodes in the tests tree +6. File->Open nunit.uikit.tests.dll +7. click Run +(mono currently has failures in the TextBox tests, but that's a different +bug) +8. Click on the first error in the Errors and Failures tab +9. Click in the treeview to expand nodes + + +Actual Results: + The tests tree no longer shows selection. Looking at the name of the +selected node displayed, it is from the previous nunit.mocks.tests.dll +assembly! After clicking around a while, nunit-gui.exe crashes. + +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object +in (wrapper ldfld) System.Object:__ldfld_wrapper_0x6d9e50_System.Object +(object,intptr,intptr,intptr) +in [0x0009f] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/OpenTreeNodeEnumerator.cs:101) +System.Windows.Forms.OpenTreeNodeEnumerator:MovePrevious () +in [0x00191] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:582) +System.Windows.Forms.TreeView:OnKeyDown +(System.Windows.Forms.KeyEventArgs e) +in [0x0004c] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3249) +System.Windows.Forms.Control:ProcessKeyEventArgs +(System.Windows.Forms.Message msg) +in [0x00021] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3284) +System.Windows.Forms.Control:ProcessKeyMessage +(System.Windows.Forms.Message msg) +in [0x00806] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3940) +System.Windows.Forms.Control:WndProc (System.Windows.Forms.Message m) +in [0x0007c] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs:752) +System.Windows.Forms.TreeView:WndProc (System.Windows.Forms.Message m) +in [0x00007] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:159) +System.Windows.Forms.Control+ControlNativeWindow:WndProc +(System.Windows.Forms.Message m) +in [0x00056] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NativeWindow.cs:146) +System.Windows.Forms.NativeWindow:WndProc (IntPtr hWnd, Msg msg, IntPtr +wParam, IntPtr lParam) +in [0x0001c] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIX11.cs:2453) +System.Windows.Forms.XplatUIX11:DispatchMessage (System.Windows.Forms.MSG +msg) +in [0x00006] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUI.cs:385) +System.Windows.Forms.XplatUI:DispatchMessage (System.Windows.Forms.MSG +msg) +in [0x0023f] +(at /home/matt/src/mono/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:395) +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 <0x0040c> NUnit.Gui.AppEntry:Main (System.String[] args) +in <0x00019> NUnit.Gui.Class1:Main (System.String[] args) + + +Expected Results: +Shouldn't crash and function as it does on MS.NET + +How often does this happen? + Can't consistently reproduce, unfortunately. + +Additional Information: _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
