java.lang.reflect.InvocationTargetException

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Tomcat7 websocket connection break with live server

    Stack Overflow | 6 months ago | Ravindra Chouhan
    java.lang.reflect.InvocationTargetException
  2. 0

    CDI Injection in Arquillian TomEE embedded test with web sockets

    Stack Overflow | 1 year ago | Runar Halse
    java.lang.IllegalStateException: The WebSocket session [0] has been closed and no method (apart from close()) may be called on a closed session

    3 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalStateException

      The WebSocket session [96] 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
      WsSession.getBasicRemote
      1. org.apache.tomcat.websocket.WsSession.checkState(WsSession.java:741)
      2. org.apache.tomcat.websocket.WsSession.getBasicRemote(WsSession.java:419)
      2 frames
    3. com.ssg.cm
      DemoServer.onClose
      1. com.ssg.cm.websocket.DemoServer.broadcastUsersList(DemoServer.java:313)
      2. com.ssg.cm.websocket.DemoServer.onClose(DemoServer.java:144)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor462.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. Tomcat WS
      WsHttpUpgradeHandler.init
      1. org.apache.tomcat.websocket.pojo.PojoEndpointBase.onClose(PojoEndpointBase.java:107)
      2. org.apache.tomcat.websocket.WsSession.fireEndpointOnClose(WsSession.java:512)
      3. org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:466)
      4. org.apache.tomcat.websocket.WsSession.close(WsSession.java:432)
      5. org.apache.tomcat.websocket.WsSession.close(WsSession.java:426)
      6. org.apache.tomcat.websocket.pojo.PojoEndpointBase.handleOnOpenError(PojoEndpointBase.java:96)
      7. org.apache.tomcat.websocket.pojo.PojoEndpointBase.doOnOpen(PojoEndpointBase.java:79)
      8. org.apache.tomcat.websocket.pojo.PojoEndpointServer.onOpen(PojoEndpointServer.java:70)
      9. org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.init(WsHttpUpgradeHandler.java:138)
      9 frames
    6. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:651)
      2. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2517)
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2506)
      3 frames
    7. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    8. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame