java.lang.IllegalStateException: must call close()

GitHub | brunosiqueira | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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)
    1 frame
  3. io.socket.engineio
    Transport$3.run
    1. io.socket.engineio.client.transports.WebSocket$3.call(WebSocket.java:173)
    2. io.socket.engineio.parser.Parser.encodePacket(Parser.java:63)
    3. io.socket.engineio.parser.Parser.encodePacket(Parser.java:42)
    4. io.socket.engineio.client.transports.WebSocket.write(WebSocket.java:168)
    5. io.socket.engineio.client.Transport$3.run(Transport.java:101)
    5 frames
  4. io.socket.thread
    EventThread.exec
    1. io.socket.thread.EventThread.exec(EventThread.java:50)
    1 frame
  5. io.socket.engineio
    Socket$6.call
    1. io.socket.engineio.client.Transport.send(Transport.java:96)
    2. io.socket.engineio.client.Socket.flush(Socket.java:608)
    3. io.socket.engineio.client.Socket.onDrain(Socket.java:599)
    4. io.socket.engineio.client.Socket.access$1000(Socket.java:30)
    5. io.socket.engineio.client.Socket$6.call(Socket.java:294)
    5 frames
  6. io.socket.emitter
    Emitter.emit
    1. io.socket.emitter.Emitter.emit(Emitter.java:117)
    1 frame
  7. io.socket.engineio
    WebSocket$2$1.run
    1. io.socket.engineio.client.transports.WebSocket$2$1.run(WebSocket.java:160)
    1 frame
  8. io.socket.thread
    EventThread$2.run
    1. io.socket.thread.EventThread$2.run(EventThread.java:75)
    1 frame
  9. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames