java.nio.channels.CancelledKeyException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 156#76945147
    via GitHub by mackuba
    ,
  • Closing Connection Properly?
    via GitHub by moilanen
    ,
  • CDH5.3.5 zookeeper start failed
    via Stack Overflow by selamat
    ,
    • java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73) at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77) at org.bitcoinj.net.ConnectionHandler.setWriteOps(ConnectionHandler.java:106) at org.bitcoinj.net.ConnectionHandler.writeBytes(ConnectionHandler.java:152) at org.bitcoinj.core.PeerSocketHandler.sendMessage(PeerSocketHandler.java:90) at org.bitcoinj.core.Peer.ping(Peer.java:1535) at org.bitcoinj.core.Peer.ping(Peer.java:1526) at org.bitcoinj.core.PeerGroup$12.run(PeerGroup.java:1679) at com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator$NeverSuccessfulListenableFutureTask.run(MoreExecutors.java:648) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.bitcoinj.utils.ContextPropagatingThreadFactory$1.run(ContextPropagatingThreadFactory.java:35) at java.lang.Thread.run(Thread.java:744)[PeerGroup Thread]

    Users with the same issue

    Adarro
    1 times, last one,
    Unknown visitor1 times, last one,
    iferca
    3 times, last one,
    Nikolay Rybak
    4 times, last one,
    SteVio1989
    4 times, last one,
    2 more bugmates