[Mono-bugs] [Bug 82477][Nor] New - NRE in CheckBox.LoadPostData
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Aug 18 17:54:46 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 juraj at hotfeet.ch.
http://bugzilla.ximian.com/show_bug.cgi?id=82477
--- shadow/82477 2007-08-18 17:54:46.000000000 -0400
+++ shadow/82477.tmp.2359 2007-08-18 17:54:46.000000000 -0400
@@ -0,0 +1,31 @@
+Bug#: 82477
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details: FC6
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com
+ReportedBy: juraj at hotfeet.ch
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: NRE in CheckBox.LoadPostData
+
+I'm getting an NullReferenceException in CheckBox.LoadPostData. I'm unable
+to construct a simple test case. The page containing the check box is quite
+complex. As soon as I start removing other controls or parts of the code,
+the problem disappears...
+
+But with the complex page, I was able to trace the problem to
+Page.ProcessPostData. It's being called with data == null. The first part
+of that method is skipped, but the second parts calls Control.LoadPostData
+with data being null.
+
+I'm attaching a patch which fixes the problem for me. But I have no idea
+what exactly the code in Page.ProcessPostData does, so it might be
+completely wrong.
More information about the mono-bugs
mailing list