java.nio.channels.ClosedChannelException

JBoss Issue Tracker | Jeanfrancois Arcand | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    When I reload (F5) with Chrome, any jsr356's Handler will be called with {noformat} 11:24:30,815 ERROR [org.atmosphere.container.JSR356Endpoint] (default I/O-3) : java.nio.channels.ClosedChannelException at io.undertow.server.protocol.framed.AbstractFramedChannel.receive(AbstractFramedChannel.java:260) at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:20) at io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:15) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.2.2.Final.jar:3.2.2.Final] at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:632) at io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:618) at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92) [xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66) [xnio-api-3.2.2.Final.jar:3.2.2.Final] at org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87) [xnio-nio-3.2.2.Final.jar:3.2.2.Final] at org.xnio.nio.WorkerThread.run(WorkerThread.java:539) [xnio-nio-3.2.2.Final.jar:3.2.2.Final] {noformat} Tomcat and Jetty won't invoke onError, so I'm curious to learn why Wildfly call onError.

    JBoss Issue Tracker | 3 years ago | Jeanfrancois Arcand
    java.nio.channels.ClosedChannelException

    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.nio.channels.ClosedChannelException

      No message provided

      at io.undertow.server.protocol.framed.AbstractFramedChannel.receive()
    2. Undertow Core
      AbstractReceiveListener.handleEvent
      1. io.undertow.server.protocol.framed.AbstractFramedChannel.receive(AbstractFramedChannel.java:260)
      2. io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:20)
      3. io.undertow.websockets.core.AbstractReceiveListener.handleEvent(AbstractReceiveListener.java:15)
      3 frames
    3. XNIO API
      ChannelListeners.invokeChannelListener
      1. org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)[xnio-api-3.2.2.Final.jar:3.2.2.Final]
      1 frame
    4. Undertow Core
      AbstractFramedChannel$FrameReadListener.handleEvent
      1. io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:632)
      2. io.undertow.server.protocol.framed.AbstractFramedChannel$FrameReadListener.handleEvent(AbstractFramedChannel.java:618)
      2 frames
    5. XNIO API
      ChannelListeners.invokeChannelListener
      1. org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)[xnio-api-3.2.2.Final.jar:3.2.2.Final]
      1 frame
    6. org.xnio.conduits
      ReadReadyHandler$ChannelListenerHandler.readReady
      1. org.xnio.conduits.ReadReadyHandler$ChannelListenerHandler.readReady(ReadReadyHandler.java:66)[xnio-api-3.2.2.Final.jar:3.2.2.Final]
      1 frame
    7. XNIO NIO Implementation
      WorkerThread.run
      1. org.xnio.nio.NioSocketConduit.handleReady(NioSocketConduit.java:87)[xnio-nio-3.2.2.Final.jar:3.2.2.Final]
      2. org.xnio.nio.WorkerThread.run(WorkerThread.java:539)[xnio-nio-3.2.2.Final.jar:3.2.2.Final]
      2 frames