[Mono-bugs] [Bug 458173] New: Nullref in DoNotSwallowErrorsCatchingNonSpecificExceptionsRule. ThrowsGeneralException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 10 19:33:24 EST 2008


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


           Summary: Nullref in
                    DoNotSwallowErrorsCatchingNonSpecificExceptionsRule.Thro
                    wsGeneralException
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Windows Vista
            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: ---


I don't have access to the dll that has the method, but I hope the stack trace
can help figuring the problem out:



System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="mscorlib"
  StackTrace:
    Server stack trace: 
       at
Gendarme.Rules.Exceptions.DoNotSwallowErrorsCatchingNonSpecificExceptionsRule.ThrowsGeneralException(ExceptionHandler
exceptionHandler)
       at
Gendarme.Rules.Exceptions.DoNotSwallowErrorsCatchingNonSpecificExceptionsRule.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)


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