java.lang.IllegalStateException: must call close()

GitHub | surlemur | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalStateException

    must call close()

    at okhttp3.internal.ws.RealWebSocket.sendMessage()
  2. okhttp3.internal.ws
    RealWebSocket.sendMessage
    1. okhttp3.internal.ws.RealWebSocket.sendMessage(RealWebSocket.java:108)[na:na]
    1 frame
  3. io.socket.engineio
    Transport$3.run
    1. io.socket.engineio.client.transports.WebSocket$3.call(WebSocket.java:173)[na:na]
    2. io.socket.engineio.parser.Parser.encodePacket(Parser.java:63)[na:na]
    3. io.socket.engineio.parser.Parser.encodePacket(Parser.java:42)[na:na]
    4. io.socket.engineio.client.transports.WebSocket.write(WebSocket.java:168)[na:na]
    5. io.socket.engineio.client.Transport$3.run(Transport.java:101)[na:na]
    5 frames
  4. io.socket.thread
    EventThread.exec
    1. io.socket.thread.EventThread.exec(EventThread.java:54)[na:na]
    1 frame
  5. io.socket.engineio
    Socket$6.call
    1. io.socket.engineio.client.Transport.send(Transport.java:96)[na:na]
    2. io.socket.engineio.client.Socket.flush(Socket.java:605)[na:na]
    3. io.socket.engineio.client.Socket.onDrain(Socket.java:596)[na:na]
    4. io.socket.engineio.client.Socket.access$1100(Socket.java:30)[na:na]
    5. io.socket.engineio.client.Socket$6.call(Socket.java:298)[na:na]
    5 frames
  6. io.socket.emitter
    Emitter.emit
    1. io.socket.emitter.Emitter.emit(Emitter.java:117)[na:na]
    1 frame
  7. io.socket.engineio
    WebSocket$2$1.run
    1. io.socket.engineio.client.transports.WebSocket$2$1.run(WebSocket.java:160)[na:na]
    1 frame
  8. io.socket.thread
    EventThread$2.run
    1. io.socket.thread.EventThread$2.run(EventThread.java:79)[na:na]
    1 frame
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_06]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_06]
    3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_06]
    3 frames