http://bugzilla.novell.com/show_bug.cgi?id=622007
http://bugzilla.novell.com/show_bug.cgi?id=622007#c0 Summary: Gendarme - XmlException when clicking "View Report..." Classification: Mono Product: Mono: Tools Version: 2.6.x Platform: x86 OS/Version: Windows XP Status: NEW Severity: Critical Priority: P5 - None Component: Gendarme AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=375687) --> (http://bugzilla.novell.com/attachment.cgi?id=375687) debug files for repro case User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.458.1 Safari/534.3 System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 132332, position 193. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args) at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args) at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Int32 pos, Char invChar) at System.Xml.XmlTextReaderImpl.ParseNumericCharRefInline(Int32 startPos, Boolean expand, BufferBuilder internalSubsetBuilder, Int32& charCount, EntityType& entityType) at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars) at System.Xml.XmlTextReaderImpl.ParseText() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space) at System.Xml.XPath.XPathDocument..ctor(XmlReader reader, XmlSpace space) at System.Xml.Xsl.Runtime.XmlQueryContext.ConstructDocument(Object dataSource, String uriRelative, Uri uriResolved) at System.Xml.Xsl.Runtime.XmlQueryContext..ctor(XmlQueryRuntime runtime, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, WhitespaceRuleLookup wsRules) at System.Xml.Xsl.Runtime.XmlQueryRuntime..ctor(XmlQueryStaticData data, Object defaultDataSource, XmlResolver dataSources, XsltArgumentList argList, XmlSequenceWriter seqWrt) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(XmlReader contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, Stream results) at System.Xml.Xsl.XslCompiledTransform.Transform(String inputUri, String resultsFile) at Gendarme.HtmlResultWriter.Finish() at Gendarme.ResultWriter.Report() at Gendarme.Wizard.ViewReportButtonClick(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) If I save the report as xml or text, the data is present, but if I save as html, then it dumps an empty file. Here is the relevant snippet from the xml where it gets the parse error: <target Name="System.Void Lucene.Net.Analysis.Standard.StandardTokenizerImpl::.cctor()" Assembly="Lucene.Net, Version=2.9.1.2, Culture=neutral, PublicKeyToken=b749b2e09cf65b7f"> <defect Severity="Low" Confidence="High" Location="System.Void Lucene.Net.Analysis.Standard.StandardTokenizerImpl::.cctor()" Source="debugging symbols unavailable, IL offset 0x0000">Found string: " ��\r������  \n�\n��\n/�\n\n�\n�\n�\n�\n�Ĩ\n�\n�^\n� \n�\n�\n�\n �\n‹�\n�\n�\n�\n�\n�,\n�\n�\n�‚\n\n�9\n�\n�\n�&\n�\n7�&\n�\n�'\nH�\n�\n.�\n�\n�\n�c\n�\n�\n �\n\n�\n�\nS�&\nÅŸ�5\n�\n�\n�\n\n�\n�\n�\n�\n�\n�\n�\n"�\n�\n�\n\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n-� �\n�\n�\n�\n\n�\n&�\n�\n�\n�\n�\n�\n\n�\n$�\n�\n�\n�\n�\n�\n�\n&�\n�\n�\n�\n� \n�\n�\n9�0\n\n\n \n'�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n �\n�\n�\n �\n�\n"�\n�\n�\n�"\n�\nt�"\n�\n�\n�\n�\nJ�&\n\n�'\n �Z\n�D\n�R\n�\n�?\n�\n�\n�\n�\n�\n�'\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�\n�'\n�\n� .�U\n�ɬ\n�\n\n�\n�K\n•�4\n,�\n&�\n�X\n�)\nÕ—�œ\n�Z\n�\n�\n�&\n�\n�\n�\n�\n�\n�\n�5\n�\n�\n�\n�\n�\n�\n�\r\n�\n�\n‚�\n‚�\n�\n�\n\n�\n�\n�\n�\n�\n�\n�\n�\n໋�\n*�\n\n�TZ(�^\n�\n8�Ä€�€€�ᦶ\n@�冦ZÒ\nݳ�⮤\nâ…œ�ĮÒ\n�\n�\n�\n\n�\r\n�\n�\n�\n�\n�l\n!�Å«\n�@\n�6\n(�\nt�\n�\n�‡\n�\n�\n�\n\n�:\n�\n�\n�\n�\n#�"</defect> </target> Reproducible: Always Steps to Reproduce: 1. Run an analysis with No Limit/All/All/All. 2. Click "View Report..." Actual Results: NET unhandled Exception Dialog appears with detail in summary. Expected Results: Browser should launch with the 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
