[Mono-bugs] [Bug 499758] WebBrowser.DocumentText property throws exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Aug 12 14:48:21 EDT 2009


User tim.mclaughlin at wwu.edu added comment

Tim McLaughlin <tim.mclaughlin at wwu.edu> changed:

           What    |Removed                     |Added
                 CC|                            |tim.mclaughlin at wwu.edu

--- Comment #1 from Tim McLaughlin <tim.mclaughlin at wwu.edu>  2009-08-12 12:48:18 MDT ---
I also get this error.  Here are some more details.

I have a simple test case that runs fine in VisualStudio 2005 but throws the
following exception in MonoDevelop 2.0 (and earlier):

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Mono.Mozilla.DOM.HTMLElement.set_OuterHTML (System.String value) [0x00044]
  at System.Windows.Forms.WebBrowser.set_DocumentText (System.String value)
[0x00025] in
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.WebBrowser:set_DocumentText (string)
  at WebPageViewer.Form1.InitializeComponent () [0x00079] in
  at WebPageViewer.Form1..ctor () [0x0000d] in
  at (wrapper remoting-invoke-with-check) WebPageViewer.Form1:.ctor ()
  at WebPageViewer.Program.Main () [0x0000b] in

I will attach the .tgz file as soon as I figure out how.  Apologies for
screw-ups; this is my first bug report.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list