[Mono-bugs] [Bug 700674] New: ArgumentNullException in Gendarme.Rules.Maintainability.AvoidDeepInheritanceTreeRule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 17 14:03:39 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=700674

https://bugzilla.novell.com/show_bug.cgi?id=700674#c0


           Summary: ArgumentNullException in
                    Gendarme.Rules.Maintainability.AvoidDeepInheritanceTre
                    eRule
    Classification: Mono
           Product: Mono: Tools
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: knocte at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101
Firefox/4.0.1

Got this exception when testing gendarme 2.11

Reproducible: Always

Steps to Reproduce:
1. Download banshee sources.
2. Compile banshee sources.
3. gendarme path/to/banshee/bin/*.dll path/to/banshee/bin/*.exe
Actual Results:  
Gendarme v2.11.0.0
Copyright (C) 2005-2011 Novell, Inc. and contributors

Initialization: 1.4 seconds
Banshee.AmazonMp3.Store.dll: 0.3 seconds
Banshee.Audiobook.dll: <0.1 seconds
Banshee.AudioCd.dll: <0.1 seconds
Banshee.BooScript.dll: <0.1 seconds
Banshee.Bpm.dll: <0.1 seconds
Banshee.CollectionIndexer.dll: <0.1 seconds
Banshee.Core.dll: 0.2 seconds
Banshee.CoverArt.dll: <0.1 seconds
Banshee.Daap.dll: 0.1 seconds
Banshee.Dap.AppleDevice.dll: <0.1 seconds
Banshee.Dap.dll: <0.1 seconds
Banshee.Dap.MassStorage.dll: <0.1 seconds
Banshee.Dap.Mtp.dll: <0.1 seconds
Banshee.Emusic.dll: <0.1 seconds
Banshee.Emusic.Store.dll: <0.1 seconds
Banshee.FileSystemQueue.dll: <0.1 seconds
Banshee.Fixup.dll: <0.1 seconds
Banshee.Gio.dll: <0.1 seconds
Banshee.Gnome.dll: <0.1 seconds
Banshee.GStreamer.dll: <0.1 seconds
Banshee.InternetArchive.dll: <0.1 seconds
Banshee.InternetRadio.dll: <0.1 seconds
Banshee.Lastfm.dll: <0.1 seconds
Banshee.LastfmStreaming.dll: <0.1 seconds
Banshee.LibraryWatcher.dll: <0.1 seconds
Banshee.MiniMode.dll: <0.1 seconds
Banshee.MiroGuide.dll: <0.1 seconds
Banshee.Mpris.dll: <0.1 seconds
Banshee.MultimediaKeys.dll: <0.1 seconds
Banshee.NotificationArea.dll: <0.1 seconds
Banshee.NowPlaying.dll: <0.1 seconds
Banshee.NowPlaying.X11.dll: <0.1 seconds
Banshee.PlayerMigration.dll: <0.1 seconds
Banshee.PlayQueue.dll: <0.1 seconds
Banshee.Podcasting.dll: <0.1 seconds
Banshee.Services.dll: 0.9 seconds
Banshee.ThickClient.dll: 0.4 seconds
Banshee.Unix.dll: <0.1 seconds
Banshee.WebBrowser.dll: <0.1 seconds
Banshee.Widgets.dll: <0.1 seconds
Banshee.Wikipedia.dll: <0.1 seconds
Banshee.YouTube.dll: <0.1 seconds
gio-sharp.dll: 0.4 seconds
gtk-sharp-beans.dll: <0.1 seconds
Hyena.Data.Sqlite.dll: 0.1 seconds
Hyena.dll: 0.4 seconds
Hyena.Gui.dll: 0.4 seconds
Lastfm.dll: <0.1 seconds
Lastfm.Gui.dll: <0.1 seconds
libgpod-sharp.dll: <0.1 seconds
Migo.dll: 0.2 seconds
Mono.Media.dll: <0.1 seconds
Mtp.dll: <0.1 seconds
MusicBrainz.dll: <0.1 seconds
Banshee.AmazonMp3.exe: <0.1 seconds
Banshee.exe: <0.1 seconds
Beroe.exe: <0.1 seconds
Halie.exe: <0.1 seconds
Muinshee.exe
An uncaught exception occured. Please fill a bug report at
https://bugzilla.novell.com/
Rule:    Gendarme.Rules.Maintainability.AvoidDeepInheritanceTreeRule
Target:    Muinshee.MuinsheeAlbumView
Stack trace: System.ArgumentNullException: Argument cannot be null.
Parameter name: location
  at Gendarme.Framework.Defect..ctor (IRule rule, IMetadataTokenProvider
target, IMetadataTokenProvider location, Severity severity, Confidence
confidence, System.String text) [0x00000] in <filename unknown>:0 
  at Gendarme.Framework.Runner.Report (IMetadataTokenProvider metadata,
Severity severity, Confidence confidence, System.String message) [0x00000] in
<filename unknown>:0 
  at Gendarme.Rules.Maintainability.AvoidDeepInheritanceTreeRule.CheckType
(Mono.Cecil.TypeDefinition type) [0x00000] in <filename unknown>:0 
  at Gendarme.Framework.Runner.OnType (Gendarme.Framework.RunnerEventArgs e)
[0x00000] in <filename unknown>:0 
  at Gendarme.Framework.Runner.Run () [0x00000] in <filename unknown>:0 
  at Gendarme.ConsoleRunner.Run () [0x00000] in <filename unknown>:0 
  at Gendarme.ConsoleRunner.Execute (System.String[] args) [0x00000] in
<filename unknown>:0 


Expected Results:  
Not crash.

-- 
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