#1301 Applications crashes due to network error

CVS_version
closed
Dare Obasanjo
5
2013-09-04
2008-10-17
Dare Obasanjo
No

2008-10-17 13:01:59,285 [1556] ERROR RssBandit.Common.Logging.Log [(null)] - Exception: System.ArgumentException
Message: Delegate to an instance method cannot have null 'this'.
Source:
at System.MulticastDelegate.ThrowNullThisInDelegateToInstance()
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at System.Net.Sockets.Socket.Dispose(Boolean disposing)
at System.Net.Sockets.Socket.System.IDisposable.Dispose()
at System.Net.Sockets.Socket.Close(Int32 timeout)
at System.Net.PooledStream.Close(Int32 timeout)
at System.Net.Connection.HandleError(Boolean writeDone, Boolean readDone, WebExceptionStatus webExceptionStatus, ConnectionReturnResult& returnResult)
at System.Net.Connection.CompleteConnectionWrapper(Object request, Object state)
at System.Net.PooledStream.ConnectionCallback(Object owningObject, Exception e, Socket socket, IPAddress address)
at System.Net.ServicePoint.ConnectSocketCallback(IAsyncResult asyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.Socket.ConnectCallback()
at System.Net.Sockets.Socket.RegisteredWaitCallback(Object state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)

Exception: System.ArgumentException
Message: Delegate to an instance method cannot have null 'this'.
Source:
at System.MulticastDelegate.ThrowNullThisInDelegateToInstance()
at System.MulticastDelegate.CtorClosed(Object target, IntPtr methodPtr)
at System.Net.Sockets.Socket.Dispose(Boolean disposing)
at System.Net.Sockets.Socket.System.IDisposable.Dispose()
at System.Net.Sockets.Socket.Close(Int32 timeout)
at System.Net.PooledStream.Close(Int32 timeout)
at System.Net.Connection.HandleError(Boolean writeDone, Boolean readDone, WebExceptionStatus webExceptionStatus, ConnectionReturnResult& returnResult)
at System.Net.Connection.CompleteConnectionWrapper(Object request, Object state)
at System.Net.PooledStream.ConnectionCallback(Object owningObject, Exception e, Socket socket, IPAddress address)
at System.Net.ServicePoint.ConnectSocketCallback(IAsyncResult asyncResult)
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
at System.Net.Sockets.Socket.ConnectCallback()
at System.Net.Sockets.Socket.RegisteredWaitCallback(Object state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(Object state, Boolean timedOut)

Discussion

    • status: open --> closed
    • Group: --> CVS_version
     
  • I've never seen this. All our net callbacks are now sourrounded by try/catch and null checks on callbacks.