[Mono-bugs] [Bug 80803][Nor] Changed - NullReferenceException in ErrorProvider.SetError

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 14 05:15:51 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 bugzilla at woy.nl.

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

--- shadow/80803	2007-03-13 17:15:48.000000000 -0500
+++ shadow/80803.tmp.16593	2007-03-14 04:15:51.000000000 -0500
@@ -60,6 +60,18 @@
 compiled version is in the bin directory.
 
 ------- Additional Comments From gert.driesen at pandora.be  2007-03-13 17:15 -------
 Created an attachment (id=18894)
 Smaller repro (which shows more issues)
 
+
+------- Additional Comments From bugzilla at woy.nl  2007-03-14 04:15 -------
+The problem seems to be that the constructor
+
+public ErrorProvider(IContainer container)
+
+does not call de empty constructor so the controls Hashtable is not 
+initialized. Changing the constructor to
+
+public ErrorProvider(IContainer container) : this()
+
+would probably solve the problem.


More information about the mono-bugs mailing list