[Mono-bugs] [Bug 757554] New: System.ArgumentOutOfRangeException on --confidence normal+
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Apr 17 15:54:23 UTC 2012
https://bugzilla.novell.com/show_bug.cgi?id=757554
https://bugzilla.novell.com/show_bug.cgi?id=757554#c0
Summary: System.ArgumentOutOfRangeException on --confidence
normal+
Classification: Mono
Product: Mono: Tools
Version: 2.10.x
Platform: x86
OS/Version: Windows Server 2008 R2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Gendarme
AssignedTo: spouliot at novell.com
ReportedBy: elger.jonker at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: Field Engineer
Blocker: Yes
Description of Problem:
After creating the report, gendarme crashes with an
argumentoutofrangeexception. When i remove the + it works fine. Doesn't crash
on high, doesn't crash on normal. Only on normal+.
Only a subset of all errors is found.
Steps to reproduce the problem:
1. Run from command line with arguments below.
2. Only happens on this DLL.
Actual Results:
C:\sonar\sonar-runner-1.2\bin>C:\"Program Files (x86)\Gendarme\gendarme.exe"
--config "C:\Builds\something>\sonar\sonar.Gendarme" --xml "C:\Builds\.
xml" --confidence normal+ --severity all "C:\Builds\<somethign>\shv_bl.dll"
Gendarme v2.10.0.0
Copyright (C) 2005-2011 Novell, Inc. and contributors
Initialization: 0,3 seconds
shv_bl.dll: 1,4 seconds
TearDown: <0.1 seconds
One assembly processed in 1,7 seconds.
1870 defects found. Report written to: `C:\Builds\33.xml'.
An uncaught exception occured. Please fill a bug report at
https://bugzilla.novell.com/
Stack trace: System.ArgumentOutOfRangeException: Specified argument was out of
the range of valid values.
at Mono.Collections.Generic.Collection`1.get_Item(Int32 index)
at Gendarme.Framework.Symbols.ExtractFirst(TypeDefinition type)
at Gendarme.Framework.Symbols.GetSource(Defect defect)
at Gendarme.Framework.Defect.get_Source()
at Gendarme.XmlResultWriter.CreateElement(Defect defect)
at Gendarme.XmlResultWriter.CreateDefects()
at Gendarme.ResultWriter.Report()
Expected Results:
Normal termination. It finds a subset of the results. The GUI finds 23288
results. The command line crashes at 1870. The gui crashes when i want to see
the results from the gui, the gui crashes. System.ArgumentOutOfRangeException:
Specified argument was out of the range of valid values.
at Mono.Collections.Generic.Collection`1.get_Item(Int32 index)
Limit is ignored in this DLL. if i say 4000, it finds over 20000.
Saving the report: i see a lot of Duplicated code with System messages.
How often does this happen?
Did not occur on inspection of other DLL's. The problem does not occur when i
use the GUI.
Additional Information:
Can send the dll, but only on confidential basis. I think gendarme has a
problem with the number of found results :)
contact me for additional information!
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list