Hi,
On 26 Nov., 10:11, MarkusSchaber <
m...@soloplan.de> wrote:
> We're currently experimenting with Code Analysis tools, and I tried
> Gendarme on one of our DLLs (proprietary code, so I'm not sure whether
> I get permission to disclose that dll). I Installed the Gendarme
> Package and started the "wizard" via start menu, using Vista64.
>
> After some seconds of analyzing, Gendarme seems to get a
> NullReferenceException.
[...]
Additional information: Running GendarmeWizard in Mono seems to freeze
the UI without any interaction after finding of 90 problems. Running
gendarme from command line via mono (Mono 2.4 on the same windows
vista) produces the following output:
C:\Program Files (x86)\Novell\Gendarme>gendarme c:\Path\to\MyDll.dll
Gendarme v2.4.0.0
Copyright (C) 2005-2009 Novell, Inc. and contributors
Initialization: 0,7 seconds
Soloplan.Map.Drawing.dll
An uncaught exception occured. Please fill a bug report at
https://bugzilla.novell.com/
Rule: Gendarme.Rules.Correctness.ReviewInconsistentIdentityRule
Target: Soloplan.Map.Drawing.Geometrie.Geometry
Stack trace: System.NullReferenceException: Der Objektverweis wurde
nicht auf eine Objektinstanz festgelegt.
bei
Gendarme.Rules.Correctness.ReviewInconsistentIdentityRule.ProcessMethod
(TypeDefinition type, MethodDefinition method, MethodInfo info)
bei
Gendarme.Rules.Correctness.ReviewInconsistentIdentityRule.CheckType
(TypeDefinition type)
bei Gendarme.Framework.Runner.OnType(RunnerEventArgs e)
bei Gendarme.Framework.Runner.Run()
bei Gendarme.ConsoleRunner.Run()
bei Gendarme.ConsoleRunner.Execute(String[] args)
C:\Program Files (x86)\Novell\Gendarme>