Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null ref #37

Open
phillijw opened this issue Apr 19, 2024 · 0 comments
Open

Null ref #37

phillijw opened this issue Apr 19, 2024 · 0 comments

Comments

@phillijw
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant