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=82326 --- shadow/82326 2007-08-05 11:48:52.000000000 -0400 +++ shadow/82326.tmp.25131 2007-08-05 11:48:52.000000000 -0400 @@ -0,0 +1,40 @@ +Bug#: 82326 +Product: Mono: Class Libraries +Version: 1.2 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: Windows.Forms +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: [2.0] NRE when closing form during load + +When the form is closed during load, I get an NRE using the attached code +snippet: + +Unhandled Exception: System.NullReferenceException: Object reference not +set to an instance of an object + at System.Windows.Forms.Control.OnParentBindingContextChanged +(System.EventArgs e) [0x00000] + at System.Windows.Forms.Control.OnBindingContextChanged +(System.EventArgs e) [0x00000] + at System.Windows.Forms.ContainerControl.OnCreateControl () [0x00000] + at System.Windows.Forms.Form.OnCreateControl () [0x00000] + at System.Windows.Forms.Control.CreateControl () [0x00000] + at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] + at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] + at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] + at (wrapper remoting-invoke-with-check) +System.Windows.Forms.Control:set_Visible (bool) + at System.Windows.Forms.Application.RunLoop (Boolean Modal, +System.Windows.Forms.ApplicationContext context) [0x00000] + at System.Windows.Forms.Application.Run (System.Windows.Forms.Form +mainForm) [0x00000] + at MainForm.Main () [0x00000] _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
