You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at SuperSocket.ClientEngine.AsyncTcpSession.Sending_Completed(Object sender, SocketAsyncEventArgs e)
at SuperSocket.ClientEngine.AsyncTcpSession.SendInternal(PosList`1 items)
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted(SocketAsyncEventArgs e)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Net.Sockets.SocketAsyncEventArgs.FinishOperationSuccess(SocketError socketError, Int32 bytesTransferred, SocketFlags flags)
at System.Net.Sockets.SocketAsyncEventArgs.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)
My guess is this is actually coming from AsyncTcpSession.OnClosed() since Sending_Complete seems to do proper checking. Copying the fields in AsyncTcpSession.OnClosed() should fix this one.
WebSocket4Net version 0.15.2.
The text was updated successfully, but these errors were encountered:
I got the following
NullReferenceException
:My guess is this is actually coming from
AsyncTcpSession.OnClosed()
sinceSending_Complete
seems to do proper checking. Copying the fields inAsyncTcpSession.OnClosed()
should fix this one.The text was updated successfully, but these errors were encountered: