[Mono-bugs] [Bug 700940] New: uncaught exception on rule Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Jun 20 08:03:21 EDT 2011
https://bugzilla.novell.com/show_bug.cgi?id=700940
https://bugzilla.novell.com/show_bug.cgi?id=700940#c0
Summary: uncaught exception on rule
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRul
e
Classification: Mono
Product: Mono: Tools
Version: 2.10.x
Platform: x86
OS/Version: Windows Server 2003
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Gendarme
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: raphael.messner at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; CWADS32; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727;
InfoPath.2; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
MS-RTC LM 8; .NET4.0C; .NET4.0E)
Analysing an assembly with Gendarme, i got this exception :
An uncaught exception occured. Please fill a bug report at
https://bugzilla.novell.com/
Rule: Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule
Target: System.String Common.Utils.Csv::get_NullValue()
Stack trace: System.NullReferenceException: Object reference not set to an
instance of an object.
at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.GetToken(MethodReference
method)
at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.BuildMethodUsage(HashSet`1
methods, MethodDefinition method)
at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.GetCache(TypeDefinition
type)
at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.CheckTypeForMethodUsage(TypeDefinition
type, MethodReference method)
at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.CheckPrivateMethod(MethodDefinition
method)
at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.CheckMethod(MethodDefinition
method)
at Gendarme.Framework.Runner.OnMethod(RunnerEventArgs e)
at Gendarme.Framework.Runner.Run()
at Gendarme.ConsoleRunner.Run()
at Gendarme.ConsoleRunner.Execute(String[] args)
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
--
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