mail-archives/mono-bugs/2012-April/113542.html

149 строки
6.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 757554] New: System.ArgumentOutOfRangeException on --confidence normal+
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=Re%3A%20%5BMono-bugs%5D%20%5BBug%20757554%5D%20New%3A%20System.ArgumentOutOfRangeException%20on%0A%20--confidence%20normal%2B&In-Reply-To=%3Cbug-757554-28286%40http.bugzilla.novell.com/%3E">
<META NAME="robots" CONTENT="index,nofollow">
<style type="text/css">
pre {
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
}
</style>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="113541.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 757554] New: System.ArgumentOutOfRangeException on --confidence normal+</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=Re%3A%20%5BMono-bugs%5D%20%5BBug%20757554%5D%20New%3A%20System.ArgumentOutOfRangeException%20on%0A%20--confidence%20normal%2B&In-Reply-To=%3Cbug-757554-28286%40http.bugzilla.novell.com/%3E"
TITLE="[Mono-bugs] [Bug 757554] New: System.ArgumentOutOfRangeException on --confidence normal+">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Apr 17 15:54:23 UTC 2012</I>
<P><UL>
<LI>Previous message: <A HREF="113541.html">[Mono-bugs] [Bug 684622] Moonlight Failure with Dungeons and Dragons Character Builder Program
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#113542">[ date ]</a>
<a href="thread.html#113542">[ thread ]</a>
<a href="subject.html#113542">[ subject ]</a>
<a href="author.html#113542">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=757554">https://bugzilla.novell.com/show_bug.cgi?id=757554</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=757554#c0">https://bugzilla.novell.com/show_bug.cgi?id=757554#c0</A>
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">spouliot at novell.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">elger.jonker at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
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&gt;C:\&quot;Program Files (x86)\Gendarme\gendarme.exe&quot;
--config &quot;C:\Builds\something&gt;\sonar\sonar.Gendarme&quot; --xml &quot;C:\Builds\.
xml&quot; --confidence normal+ --severity all &quot;C:\Builds\&lt;somethign&gt;\shv_bl.dll&quot;
Gendarme v2.10.0.0
Copyright (C) 2005-2011 Novell, Inc. and contributors
Initialization: 0,3 seconds
shv_bl.dll: 1,4 seconds
TearDown: &lt;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
<A HREF="https://bugzilla.novell.com/">https://bugzilla.novell.com/</A>
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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="113541.html">[Mono-bugs] [Bug 684622] Moonlight Failure with Dungeons and Dragons Character Builder Program
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#113542">[ date ]</a>
<a href="thread.html#113542">[ thread ]</a>
<a href="subject.html#113542">[ subject ]</a>
<a href="author.html#113542">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>