[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.

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

--- 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   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: toshok at ximian.com                            
 ReportedBy: sebastien at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-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)
 patch
 
+
+------- 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