java.lang.IllegalStateException: The WebSocket session has been closed and no method (apart from close()) may be called on a closed session

tomcat-dev | Rainer Jung | 4 years 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. 0

    Re: [VOTE] Release Apache Tomcat 8.0.0-RC1

    tomcat-dev | 4 years ago | Rainer Jung
    java.lang.IllegalStateException: The WebSocket session has been closed and no method (apart from close()) may be called on a closed session
  2. 0

    Re: [VOTE] Release Apache Tomcat 8.0.0-RC1

    tomcat-dev | 4 years ago | Rainer Jung
    java.lang.IllegalStateException: The WebSocket session has been closed and no method (apart from close()) may be called on a closed session

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The WebSocket session has been closed and no method (apart from close()) may be called on a closed session

      at org.apache.tomcat.websocket.WsSession.checkState()
    2. Tomcat WS
      TestWsWebSocketContainer.testMaxMessageSize03
      1. org.apache.tomcat.websocket.WsSession.checkState(WsSession.java:607)
      2. org.apache.tomcat.websocket.WsSession.getUserProperties(WsSession.java:556)
      3. org.apache.tomcat.websocket.WsRemoteEndpointImplBase.getBlockingSendTimeout(WsRemoteEndpointImplBase.java:360)
      4. org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendPartialString(WsRemoteEndpointImplBase.java:195)
      5. org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:155)
      6. org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
      7. org.apache.tomcat.websocket.TestWsWebSocketContainer.doMaxMessageSize(TestWsWebSocketContainer.java:859)
      8. org.apache.tomcat.websocket.TestWsWebSocketContainer.testMaxMessageSize03(TestWsWebSocketContainer.java:830)
      8 frames