[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
http://bugzilla.novell.com/show_bug.cgi?id=499758
User tim.mclaughlin at wwu.edu added comment
http://bugzilla.novell.com/show_bug.cgi?id=499758#c1
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]
in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/Mono.WebBrowser/Mono.Mozilla/DOM/HTMLElement.cs:107
at System.Windows.Forms.WebBrowser.set_DocumentText (System.String value)
[0x00025] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:130
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.WebBrowser:set_DocumentText (string)
at WebPageViewer.Form1.InitializeComponent () [0x00079] in
/home/mclaugtd/Documents/MonoProgrammingProjects/WebPageViewer/WebPageViewer/Form1.Designer.cs:42
at WebPageViewer.Form1..ctor () [0x0000d] in
/home/mclaugtd/Documents/MonoProgrammingProjects/WebPageViewer/WebPageViewer/Form1.cs:15
at (wrapper remoting-invoke-with-check) WebPageViewer.Form1:.ctor ()
at WebPageViewer.Program.Main () [0x0000b] in
/home/mclaugtd/Documents/MonoProgrammingProjects/WebPageViewer/WebPageViewer/Program.cs:17
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