[Mono-bugs] [Bug 550152] New: NullReferenceException in Gendarme.Rules.Correctness.ReviewInconsistentIdentityRule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 26 12:51:25 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=550152


           Summary: NullReferenceException in
                    Gendarme.Rules.Correctness.ReviewInconsistentIdentityR
                    ule
    Classification: Mono
           Product: Mono: Tools
           Version: 2.4.x
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: frederick.roth at topalis.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=324175)
 --> (http://bugzilla.novell.com/attachment.cgi?id=324175)
dll

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3)
Gecko/20091026 Gentoo Firefox/3.5.3

Hi,

when running Gendarme v2.4.2.0 against a library (given in attachment,
sourcecode on http://git.openmapi.org/nmapi) I get the following stacktrace:

Target: NMapi.Properties.PropertyValue
Stack trace: System.NullReferenceException: Object reference not set to an
instance of an object
  at Gendarme.Rules.Correctness.ReviewInconsistentIdentityRule.ProcessMethod
(Mono.Cecil.TypeDefinition type, Mono.Cecil.MethodDefinition method,
Gendarme.Rules.Correctness.MethodInfo info) [0x00000]
  at Gendarme.Rules.Correctness.ReviewInconsistentIdentityRule.CheckType
(Mono.Cecil.TypeDefinition type) [0x00000]
  at Gendarme.Framework.Runner.OnType (Gendarme.Framework.RunnerEventArgs e)
[0x00000]
  at Gendarme.Framework.Runner.Run () [0x00000]
  at Gendarme.ConsoleRunner.Run () [0x00000]
  at Gendarme.ConsoleRunner.Execute (System.String[] args) [0x00000]

Reproducible: Always

Steps to Reproduce:
1. froth at megaera bin % gendarme NMapi.dll

Actual Results:  
Stacktrave

Expected Results:  
gendarme results

-- 
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.


More information about the mono-bugs mailing list