[Mono-bugs] [Bug 352326] New: Gendarme rule (part of default ruleset) is throwing an exception

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 8 11:07:11 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=352326

User vgiszpenc at dsci.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=352326#c1

           Summary: Gendarme rule (part of default ruleset) is throwing an
                    exception
           Product: Mono: Tools
           Version: 1.2.6
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: tools
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: vgiszpenc at dsci.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Gendarme throws an exception using defaults on my assembly.

Unhandled Exception: System.Xml.XmlException: 'problem' is expected
file:///usr/local/lib/gendarme/Gendarme.Rules.Performance.xml Line 47, position
138.
  at Mono.Xml2.XmlTextReader.Expect (System.String expected) [0x00000]
  at Mono.Xml2.XmlTextReader.ReadEndTag () [0x00000]
  at Mono.Xml2.XmlTextReader.ReadContent () [0x00000]
  at Mono.Xml2.XmlTextReader.Read () [0x00000]
  at System.Xml.XmlTextReader.Read () [0x00000]
  at Mono.Xml.EntityResolvingXmlReader.Read () [0x00000]
  at Mono.Xml.Schema.XsdValidatingReader.Read () [0x00000]
  at System.Xml.XmlValidatingReader.Read () [0x00000]
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
[0x00000]
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
[0x00000]
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
[0x00000]
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
[0x00000]
  at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000]
  at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000]
  at System.Xml.XmlDocument.Load (System.String filename) [0x00000]
  at Gendarme.Framework.RuleInformationManager.LoadAssemblyRulesInformations
(System.String filename) [0x00000]
  at Gendarme.Framework.RuleInformationManager.GetRuleInformation (System.Type
type) [0x00000]
  at Gendarme.Framework.RuleInformationManager.GetRuleInformation (IRule rule)
[0x00000]
  at XmlResultWriter.Rules (System.String type,
Gendarme.Framework.RuleCollection rules) [0x00000]
  at XmlResultWriter.Write (Gendarme.Framework.Rules rules) [0x00000]
  at HtmlResultWriter.Write (Gendarme.Framework.Rules rules) [0x00000]
  at ConsoleRunner.Main (System.String[] args) [0x00000]


lsb_release -a
LSB Version:   
core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32:desktop-3.1-ia32:desktop-3.1-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: SUSE LINUX
Description:    openSUSE 10.2 (i586)
Release:        10.2
Codename:       n/a

uname -a
Linux mono 2.6.18.8-0.7-default #1 SMP Tue Oct 2 17:21:08 UTC 2007 i686 i686
i386 GNU/Linux

 mono --version
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  x86
        Disabled:      none



 monodevelop --version
MonoDevelop.IdeApplication  0.18.0.0 - MonoDevelop Team 2004-2005, Mike Krueger
2000-2003
The MonoDevelop IDE

http://monodevelop.com
Authors: MonoDevelop Team


-- 
Configure bugmail: https://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.


More information about the mono-bugs mailing list