[Mono-bugs] [Bug 79817][Wis] New - Custom XPath Functions sample from CodeProject crashes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Nov 3 07:26:56 EST 2006


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 sanxiyn at gmail.com.

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

--- shadow/79817	2006-11-03 07:26:56.000000000 -0500
+++ shadow/79817.tmp.5222	2006-11-03 07:26:56.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 79817
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.XML
+AssignedTo: atsushi at ximian.com                            
+ReportedBy: sanxiyn at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Custom XPath Functions sample from CodeProject crashes
+
+Custom XPath Functions sample from CodeProejct crashes.
+
+The sample with detailed comments can be found here:
+http://www.codeproject.com/useritems/CustomFunctions.asp
+
+As CodeProject requires registration to download source archive, I have put
+it here:
+http://sparcs.kaist.ac.kr/~tinuviel/download/CustomFunctions_src.zip
+
+Warning: it extracts in the current directory. Use unzip -d.
+
+Steps to reproduce the problem:
+1. Download and extract
+2. XmlFunctions.cs has "Do something" commented out as placeholders. One
+may want to fill it for debugging purposes.
+3. xbuild
+4. ./bin/Debug/XmlFunctions.exe
+
+Actual Results:
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+  at System.Xml.XPath.Expression.GetReturnType (System.Object obj) [0x00000]
+  at System.Xml.XPath.EqualityExpr.EvaluateBoolean
+(System.Xml.XPath.BaseIterator iter) [0x00000]
+  at System.Xml.XPath.PredicateIterator.MoveNextCore () [0x00000]
+  at System.Xml.XPath.BaseIterator.MoveNext () [0x00000]
+  at System.Xml.XPath.SlashIterator.MoveNextCore () [0x00000]
+  at System.Xml.XPath.BaseIterator.MoveNext () [0x00000]
+  at System.Xml.XPath.XPathNodeIterator+<>c__CompilerGenerated3.MoveNext ()
+[0x00000]
+  at XmlFunctions.XmlFunctions.FindAddressForTypeWithVariable
+(System.String type) [0x00000]
+  at XmlFunctions.Program.Main (System.String[] args) [0x00000]
+
+Expected Results:
+
+No output. (Confirmed on MS.NET.)


More information about the mono-bugs mailing list