[Mono-bugs] [Bug 82040][Nor] Changed - [Win32] TableLayoutPanel: NullReferenceException when no children are added

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jul 8 20:13:35 EDT 2007


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 monkey at jpobst.com.

http://bugzilla.ximian.com/show_bug.cgi?id=82040

--- shadow/82040	2007-07-08 20:12:58.000000000 -0400
+++ shadow/82040.tmp.28696	2007-07-08 20:13:35.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 82040
 Product: Mono: Class Libraries
 Version: 1.2
 OS: unknown
 OS Details: Windows XP SP2
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: monkey at jpobst.com                            
 ReportedBy: gert.driesen at pandora.be               
 QAContact: mono-bugs at ximian.com
@@ -62,6 +62,22 @@
 (System.Windows.Forms.IWin32Window) <0x00299>
 at System.Windows.Forms.Form.ShowDialog () <0x0000c>
 at (wrapper remoting-invoke-with-check) 
 System.Windows.Forms.Form.ShowDialog ()
 <0x00038>
 at Program.Main () <0x00191>
+
+------- Additional Comments From monkey at jpobst.com  2007-07-08 20:13 -------
+Fixed in SVN r81611:
+
+2007-07-08  Jonathan Pobst  <monkey at jpobst.com>
+
+	* TableLayoutPanel.cs: Add a null check so we don't NRE trying to
+paint cell borders if we haven't calculated where they go yet.
+	[Fixes bugs #82040 and #82041]
+
+2007-07-08  Jonathan Pobst  <monkey at jpobst.com>
+
+	* TableLayoutTest.cs: Simplify and enable Gert's test for bug
+	#82040.  Add a test for bug #82041.
+
+Thanks for the report!


More information about the mono-bugs mailing list