[Mono-bugs] [Bug 71977][Maj] New - XmlReader fails/throws System.NullReferenceException: Unexpected node type EndElement.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 30 Jan 2005 16:17:37 -0500 (EST)


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 jps@kraksystem.pl.

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

--- shadow/71977	2005-01-30 16:17:37.000000000 -0500
+++ shadow/71977.tmp.17379	2005-01-30 16:17:37.000000000 -0500
@@ -0,0 +1,53 @@
+Bug#: 71977
+Product: Mono: Class Libraries
+Version: 1.0
+OS: All
+OS Details: FreeBSD 5.3-RELEASE
+Status: NEW   
+Resolution: 
+Severity: 008 One day
+Priority: Major
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jps@kraksystem.pl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XmlReader fails/throws System.NullReferenceException: Unexpected node type EndElement.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+When using the SgmlReader library, Mono quits and dumps the following:
+
+Unhandled Exception: System.NullReferenceException: Unexpected node type
+EndElement.
+in <0x0079c> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
+in <0x002b7> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
+in <0x002b7> System.Xml.XmlDocument:ReadNode (System.Xml.XmlReader)
+in <0x0004f> System.Xml.XmlDocument:Load (System.Xml.XmlReader)
+in <0x0017f> Onet2RSS.MainClass:Main (string[])
+
+
+Steps to reproduce the problem:
+1. Compile a program that uses SgmlReader.
+2. Walk the DOM tree.
+3. 
+
+Actual Results:
+
+throws a System.NullReferenceException
+
+Expected Results:
+
+does not throw an exception, proceeds with execution.
+
+How often does this happen? 
+
+always
+
+Additional Information:
+
+I can provide the sample program source upon request.