[Mono-bugs] [Bug 79568][Nor] Changed - [PATCH] NRE in ToolTip.control_MouseEnter

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Oct 3 10:58:54 EDT 2006

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 sebastien at ximian.com.


--- shadow/79568	2006-10-03 10:57:26.000000000 -0400
+++ shadow/79568.tmp.19831	2006-10-03 10:58:54.000000000 -0400
@@ -2,22 +2,22 @@
 Product: Mono: Class Libraries
 Version: 1.1
 OS: All
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: toshok at ximian.com                            
 ReportedBy: sebastien at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
-Summary: NRE in ToolTip.control_MouseEnter
+Summary: [PATCH] NRE in ToolTip.control_MouseEnter
 Description of Problem:
 A NullReferenceException can occur if the sender.GetContainerControl
 returns null.
 Steps to reproduce the problem:
@@ -41,6 +41,12 @@
 Additional Information:
 ------- Additional Comments From sebastien at ximian.com  2006-10-03 10:57 -------
 Created an attachment (id=17783)
+------- Additional Comments From sebastien at ximian.com  2006-10-03 10:58 -------
+I suspected GetContainerControl to play a (bad) role in this. However
+it doesn't seems to be the case (as far as the new unit tests shows).
+Null is a valid return value so the ToolTip code must deal with it.
+Patch attached.

More information about the mono-bugs mailing list