java.nio.channels.ClosedChannelException

GitHub | NathCoco | 7 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. 0

    GitHub comment 116#250455933

    GitHub | 7 months ago | NathCoco
    java.nio.channels.ClosedChannelException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    GitHub comment 126#216827804

    GitHub | 12 months ago | ochart2
    org.eclipse.jetty.io.EofException
  4. 0

    [JENKINS-33702] safeRestart fails with Authentication exception - Jenkins JIRA

    jenkins-ci.org | 9 months ago
    java.nio.channels.ClosedChannelException

  1. mauritius 1 times, last 3 months ago
  2. poroszd 1 times, last 3 months ago
  3. mellson 2 times, last 7 months ago
  4. davidvanlaatum 5 times, last 11 months ago
8 unregistered visitors
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 sun.nio.ch.SocketChannelImpl.ensureWriteOpen()
  2. Java RT
    SocketChannelImpl.write
    1. sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
    2. sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:461)
    2 frames
  3. Netty
    SimpleChannelHandler.handleDownstream
    1. org.jboss.netty.channel.socket.nio.SocketSendBufferPool$UnpooledSendBuffer.transferTo(SocketSendBufferPool.java:203)
    2. org.jboss.netty.channel.socket.nio.AbstractNioWorker.write0(AbstractNioWorker.java:201)
    3. org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromUserCode(AbstractNioWorker.java:146)
    4. org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:99)
    5. org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36)
    6. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
    7. org.jboss.netty.channel.Channels.write(Channels.java:725)
    8. org.jboss.netty.handler.codec.oneone.OneToOneEncoder.doEncode(OneToOneEncoder.java:71)
    9. org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:59)
    10. org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
    11. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784)
    12. org.jboss.netty.channel.SimpleChannelHandler.writeRequested(SimpleChannelHandler.java:292)
    13. org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:254)
    13 frames
  4. com.typesafe.netty
    HttpPipeliningHandler.handleDownstream
    1. com.typesafe.netty.http.pipelining.HttpPipeliningHandler.handleDownstream(HttpPipeliningHandler.java:106)
    1 frame
  5. Netty
    AbstractChannel.write
    1. org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
    2. org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
    3. org.jboss.netty.channel.Channels.write(Channels.java:704)
    4. org.jboss.netty.channel.Channels.write(Channels.java:671)
    5. org.jboss.netty.channel.AbstractChannel.write(AbstractChannel.java:348)
    5 frames
  6. Play Server
    WebSocketHandler$$anon$1.messageReceived
    1. play.core.server.netty.WebSocketHandler$$anon$1.closeWebSocket(WebSocketHandler.scala:140)
    2. play.core.server.netty.WebSocketHandler$$anon$1.messageReceived(WebSocketHandler.scala:107)
    2 frames
  7. Netty
    DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream
    1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
    2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
    3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
    3 frames
  8. com.typesafe.netty
    HttpPipeliningHandler.messageReceived
    1. com.typesafe.netty.http.pipelining.HttpPipeliningHandler.messageReceived(HttpPipeliningHandler.java:64)
    1 frame
  9. Netty
    DeadLockProofWorker$1.run
    1. org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)
    2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
    3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
    4. org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:138)
    5. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
    6. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
    7. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
    8. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
    9. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:462)
    10. org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
    11. org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
    12. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
    13. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
    14. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
    15. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
    16. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
    17. org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
    18. org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
    19. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
    20. org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
    21. org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
    22. org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
    23. org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
    23 frames
  10. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames