Skip to content

Null ref #37

Open
Open
@phillijw

Description

@phillijw

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions