SocketclusterClientDotNet icon indicating copy to clipboard operation
SocketclusterClientDotNet copied to clipboard

Null ref

Open phillijw opened this issue 1 year ago • 0 comments

I can't seem to figure out where at WebSocket4Net.WebSocket.Send(String message) is coming from. The referenced library only has SendAsync() not Send() so something doesn't seem right here.

System.NullReferenceException: Object reference not set to an instance of an object.
   at ScClient.Socket.OnWebsocketError(Object sender, ErrorEventArgs e)
   at WebSocket4Net.WebSocket.OnError(ErrorEventArgs e)
   at WebSocket4Net.WebSocket.OnError(Exception e)
   at WebSocket4Net.WebSocket.EnsureWebSocketOpen()
   at WebSocket4Net.WebSocket.Send(String message)
   at ScClient.Socket.Publish(String channel, Object data, Ackcall ack)
   at ScClient.Socket.Channel.Publish(Object data, Ackcall ack)

phillijw avatar Apr 19 '24 14:04 phillijw