[Mono-bugs] [Bug 75825][Maj] Changed - [GMCS] Some recursive problem

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 23 18:09:28 EST 2007


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 ben at joldersma.org.

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

--- shadow/75825	2006-03-22 08:22:32.000000000 -0500
+++ shadow/75825.tmp.2607	2007-01-23 18:09:28.000000000 -0500
@@ -55,6 +55,66 @@
 
 ------- Additional Comments From martin at ximian.com  2005-09-19 13:45 -------
 Difficult, some recursive problem.
 
 ------- Additional Comments From martin at ximian.com  2006-03-22 08:22 -------
 I can't reproduce this anymore.
+
+------- Additional Comments From ben at joldersma.org  2007-01-23 18:09 -------
+I'm getting this error when I recompile my asp.net application, and
+try to reload the assembly / site in xsp2.
+
+I've seen the message like
+
+** ERROR **: implement type compare for 0!
+
+as well as:
+
+** ERROR **: implement type compare for 2a!
+
+I'm not sure what 2a means in this context?
+
+It's failing on this call:
+
+HtmlElement he = RootContext.CreateWidget<HtmlElement>();, which is a
+generic method.  the stack trace is weird, because it looks like it's
+somehow getting back into the current function:
+
+** ERROR **: implement type compare for 2a!
+aborting...
+Stacktrace:
+
+  at EmergeTk.Widget.ParseHtmlElement (System.Xml.XmlNode) <0xffffffff>
+  at EmergeTk.Widget.ParseHtmlElement (System.Xml.XmlNode) <0x00057>
+
+I don't see how it could be calling ParseHtmlElement a second time.
+
+Here's the entire method, it fails on the first line:
+
+        private void ParseHtmlElement(XmlNode n)
+        {
+        	try
+        	{
+	            HtmlElement he = RootContext.CreateWidget<HtmlElement>();
+	            he.TagName = n.Name;
+	            he.id = he.TagName + he.id;
+	            he.EmergePrefix = NearestContext.TagPrefix;
+	            foreach (XmlAttribute a in n.Attributes)
+	            {
+	            	if( a.Prefix == NearestContext.TagPrefix )
+	            		he.SetAttribute(a.Name, a.Value);	
+	                else
+	                	he.SetAttribute(a.Name,
+Util.ToJavaScriptString(a.Value));
+	            }
+	            Add(he);
+	            he.ParseXml(n);
+	         }
+	         catch(Exception e)
+	         {
+	         	System.Console.WriteLine("ParseHtmlElement: " +
+EmergeTk.Util.BuildExceptionOutput(e));
+	         }
+        }
+
+Let me know if I can send anymore info that will help.  I'm not too
+worried about it, but y'all might be interested in the info...


More information about the mono-bugs mailing list