TakahikoKawasaki / nv-websocket-client

High-quality WebSocket client implementation in Java.
Apache License 2.0
2.03k stars 292 forks source link

An uncaught throwable was detected in the writing thread: Attempt to get length of null array #221

Closed Behtold closed 3 years ago

Behtold commented 3 years ago

After updating the version (2.10 -> 2.11), the connection is broken with the message "An uncaught throwable was detected in the writing thread: Attempt to get length of null array" after a few seconds. In this case, two identical methods are called simultaneously .onUnexpectedError and .onError. This is not good.

TakahikoKawasaki commented 3 years ago

Reportedly, PR #222 fixes this issue. nv-websocket-client 2.12 including #PR 222 has been released.