[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


User vgiszpenc at dsci.com added comment

           Summary: Gendarme rule (part of default ruleset) is throwing an
           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
  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)
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
  at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader)
  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)
  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:   
Distributor ID: SUSE LINUX
Description:    openSUSE 10.2 (i586)
Release:        10.2
Codename:       n/a

uname -a
Linux mono #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 - MonoDevelop Team 2004-2005, Mike Krueger
The MonoDevelop IDE

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