TooTallNate / Java-WebSocket

A barebones WebSocket client and server implementation written in 100% Java.
http://tootallnate.github.io/Java-WebSocket
MIT License
10.47k stars 2.57k forks source link

webSocket reconnect crash happened #1331

Closed feidiwangdong closed 1 year ago

feidiwangdong commented 1 year ago

when i call websoketClinent.reconnect() Attempt to invoke virtual method 'long java.lang.Thread.getId()' on a null object reference

marci4 commented 1 year ago

No steps to repeat, no code.

Closing issue

feidiwangdong commented 1 year ago

when i call the api reconnect Attempt to invoke virtual method 'long java.lang.Thread.getId()' on a null object reference

1 org.java_websocket.client.WebSocketClient.connect(WebSocketClient.java:375) 2 org.java_websocket.client.WebSocketClient.reconnect(WebSocketClient.java:315)