WebSocket pings without connections and causes to crash: WebsocketNotConnectedException
Expected Behavior
Application using the websocket client is not supposed to crash while running on Android.
Current Behavior
We have found in some Android phones the following error:
Fatal Exception: org.java_websocket.exceptions.WebsocketNotConnectedException
at org.java_websocket.WebSocketImpl.send(WebSocketImpl.java:608)
at org.java_websocket.WebSocketImpl.sendFrame(WebSocketImpl.java:634)
at org.java_websocket.WebSocketImpl.sendPing(WebSocketImpl.java:641)
at org.java_websocket.AbstractWebSocket$1.run(AbstractWebSocket.java:153)
at java.util.Timer$TimerImpl.run(Timer.java:284)
Steps to Reproduce (for bugs)
Unfortunately I was still unable to reproduce the bug locally. As soon as I will, I will update the issue.
Context
We implement the websocket client in an Android App.
Your Environment
- Version used: 1.3.8
- Operating System and version: Android 6-8
WebSocket pings without connections and causes to crash: WebsocketNotConnectedException
Expected Behavior
Application using the websocket client is not supposed to crash while running on Android.
Current Behavior
We have found in some Android phones the following error:
Fatal Exception: org.java_websocket.exceptions.WebsocketNotConnectedException
at org.java_websocket.WebSocketImpl.send(WebSocketImpl.java:608)
at org.java_websocket.WebSocketImpl.sendFrame(WebSocketImpl.java:634)
at org.java_websocket.WebSocketImpl.sendPing(WebSocketImpl.java:641)
at org.java_websocket.AbstractWebSocket$1.run(AbstractWebSocket.java:153)
at java.util.Timer$TimerImpl.run(Timer.java:284)
Steps to Reproduce (for bugs)
Unfortunately I was still unable to reproduce the bug locally. As soon as I will, I will update the issue.
Context
We implement the websocket client in an Android App.
Your Environment