[Mono-bugs] [Bug 672516] New: Exception in Gendarme Rule Concurrency.DoNotLockOnWeakIdentityObjectsRule

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 16 08:53:37 EST 2011


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

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


           Summary: Exception in Gendarme Rule
                    Concurrency.DoNotLockOnWeakIdentityObjectsRule
    Classification: Mono
           Product: Mono: Tools
           Version: 2.10.x
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: spouliot at novell.com
        ReportedBy: cofiem at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:

Rule: Gendarme.Rules.Concurrency.DoNotLockOnWeakIdentityObjectsRule

Target: T
YAF.Classes.Core.YafCache::GetItem(System.String,System.Double,System.Web.Caching.CacheItemPriority,System.Func`1<T>)

Stack trace: System.NullReferenceException: Object reference not set to an
instance of an object.
   at
Gendarme.Rules.Concurrency.DoNotLockOnWeakIdentityObjectsRule.Analyze(MethodDefinition
method, MethodReference enter, Instruction ins)
   at Gendarme.Rules.Concurrency.LockAnalyzerRule.CheckMethod(MethodDefinition
method)
   at Gendarme.Framework.Runner.OnMethod(RunnerEventArgs e)
   at Gendarme.Framework.Runner.Run()
   at Gendarme.GuiRunner.Execute()


-----------------

The source and binaries are available here:
http://sourceforge.net/projects/yafdotnet/files/Yet%20Another%20Forum.NET/Version%201.9.5/

YAF.Classes.Core.YafCache::GetItem(System.String,System.Double,System.Web.Caching.CacheItemPriority,System.Func`1<T>)

should be in YAF.Classes.Core.dll

Using Wizard/GUI.

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