[Mono-bugs] [Bug 21397] New - ./XmlNodeTextPositionMap.cs(127) error CS246: Cannot find type `XmlNode'

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
5 Mar 2002 22:57:56 -0000

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 storri@cs.wustl.edu.


--- shadow/21397	Tue Mar  5 17:57:56 2002
+++ shadow/21397.tmp.28894	Tue Mar  5 17:57:56 2002
@@ -0,0 +1,48 @@
+Bug#: 21397
+Product: Mono/MCS
+Version: unspecified
+OS: Red Hat 7.2
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: storri@cs.wustl.edu               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: ./XmlNodeTextPositionMap.cs(127) error CS246: Cannot find type `XmlNode'
+Description of Problem:
+Working on getting mcs/nant to compile on Linux (RedHat 7.2 - mono 0.9)
+The error occurs when I try to compile
+Steps to reproduce the problem:
+1. cd mcs/nant/src/Util
+2. mcs XmlNodeTextPositionMap.cs
+Actual Results:
+./XmlNodeTextPositionMap.cs(127) error CS246: Cannot find type `XmlNode'
+Unhandled exception System.NullReferenceException A null value was found
+where an object instance was required.
+#0: 0x00099 callvirt   in Mono.CSharp.Method::Define ([0x8193be8] )
+#1: 0x00024 callvirt   in Mono.CSharp.TypeContainer::DefineMembers
+([0x8229e70] [(nil)] )
+#2: 0x00101 call       in Mono.CSharp.TypeContainer::Define ([0x812ed08] )
+#3: 0x0009c callvirt   in Mono.CSharp.RootContext::PopulateTypes ()
+#4: 0x008a3 call       in Mono.CSharp.Driver::MainDriver ([0x80de418] )
+#5: 0x00001 call       in Mono.CSharp.Driver::Main ([0x80de418] )
+Expected Results:
+I don't know what to say other than it compiles
+How often does this happen? 
+Additional Information: