[Mono-bugs] [Bug 535955] New: exception on duplicate assemblies

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 1 10:36:21 EDT 2009


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


           Summary: exception on duplicate assemblies
    Classification: Mono
           Product: Mono: Tools
           Version: unspecified
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: florin.daneliuc at iquestint.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2)
Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)

When running the Gendarme Wizard with duplicate assemblies (same assembly but
from different folders) application crashes. The cause of the crash is 
at Gendarme.Framework.AssemblyResolver.CacheAssembly(AssemblyDefinition
assembly) in
D:\\kits\\dev\\MsBuild\\gendarme\\mono-tools\\gendarme\\framework\\Gendarme.Framework\\AssemblyResolver.cs:line
74
where the same key (assembly.name) is added twice to a dictionary.

Reproducible: Always

Steps to Reproduce:
1. Open Gendarme Wizard
2. Select the same assembly twice
3. Run the analyses (ie. next, next, next)
Actual Results:  
application crash

Expected Results:  
display 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