[Mono-bugs] [Bug 458178] New: nullref in AvoidUncalledPrivateCodeRule.BuildMethodUsage

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 10 20:06:35 EST 2008


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


           Summary: nullref in AvoidUncalledPrivateCodeRule.BuildMethodUsage
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: gonzalo at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


This is with gendarme 2.0:


System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="mscorlib"
  StackTrace:
    Server stack trace: 
       at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.BuildMethodUsage(HashSet`1
methods, MethodDefinition method)
       at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.GetCache(TypeDefinition
type)
       at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.CheckTypeForMethodUsage(TypeDefinition
type, MethodReference method)
       at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.CheckAssemblyForMethodUsage(AssemblyDefinition
ad, MethodReference method)
       at
Gendarme.Rules.Performance.AvoidUncalledPrivateCodeRule.CheckMethod(MethodDefinition
method)
       at Gendarme.Framework.Runner.OnMethod(RunnerEventArgs e)
       at Gendarme.Framework.Runner.Run()
       at Gendarme.Wizard.Analyze()
       at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
       at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle
md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
       at
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage
msg, IMessageSink replySink)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message
reqMsg, Boolean bProxyCase)
       at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed,
MessageData& msgData)
       at Gendarme.Wizard.MethodInvoker.EndInvoke(IAsyncResult result)
       at Gendarme.Wizard.EndCallback(IAsyncResult result)
       at
System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
       at
System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage
msg, IMessageSink replySink)
       at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
       at
System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object
o)
       at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object
state)
       at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
       at
System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback
tpWaitCallBack)
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object
state)
  InnerException:


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