java.nio.channels.ClosedChannelException: null

Google Groups | Kaizah Kaiser | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp . Or join the community to write better ones.
  1. 0

    No primary node is available

    Google Groups | 2 months ago | Kaizah Kaiser
    java.nio.channels.ClosedChannelException: null
  2. 0
    samebug tip
    Check if the connection is ready before sending a message.
  3. 0

    UnresolvedAddressException being hit by Druid broker

    Stack Overflow | 6 months ago | jithinpt
    java.nio.channels.UnresolvedAddressException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      null

      at sun.nio.ch.SocketChannelImpl.ensureOpenAndUnconnected()
    2. Java RT
      SocketChannelImpl.connect
      1. sun.nio.ch.SocketChannelImpl.ensureOpenAndUnconnected(SocketChannelImpl.java:608)[na:1.8.0_102]
      2. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:621)[na:1.8.0_102]
      2 frames
    3. shaded.netty.channel
      DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream
      1. shaded.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:108)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      2. shaded.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      3. shaded.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      3 frames
    4. shaded.netty.handler
      OneToOneEncoder.handleDownstream
      1. shaded.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      1 frame
    5. shaded.netty.channel
      AbstractChannel.connect
      1. shaded.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      2. shaded.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:784)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      3. shaded.netty.channel.SimpleChannelHandler.connectRequested(SimpleChannelHandler.java:306)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      4. shaded.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:272)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      5. shaded.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      6. shaded.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      7. shaded.netty.channel.Channels.connect(Channels.java:634)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      8. shaded.netty.channel.AbstractChannel.connect(AbstractChannel.java:216)[reactivemongo-shaded-0.12.1.jar:0.12.1]
      8 frames
    6. reactivemongo.core.actors
      MongoDBSystem$$anonfun$connectAll$1$$anonfun$apply$55.apply
      1. reactivemongo.core.actors.MongoDBSystem$$anonfun$connectAll$1$$anonfun$apply$55.apply(actors.scala:1145)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      2. reactivemongo.core.actors.MongoDBSystem$$anonfun$connectAll$1$$anonfun$apply$55.apply(actors.scala:1142)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      2 frames
    7. Scala
      TraversableLike$WithFilter.map
      1. scala.collection.TraversableLike$WithFilter$$anonfun$map$2.apply(TraversableLike.scala:683)[scala-library-2.11.8.jar:1.0.0-M1]
      2. scala.collection.Iterator$class.foreach(Iterator.scala:893)[scala-library-2.11.8.jar:1.0.0-M1]
      3. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)[scala-library-2.11.8.jar:1.0.0-M1]
      4. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)[scala-library-2.11.8.jar:1.0.0-M1]
      5. scala.collection.AbstractIterable.foreach(Iterable.scala:54)[scala-library-2.11.8.jar:1.0.0-M1]
      6. scala.collection.TraversableLike$WithFilter.map(TraversableLike.scala:682)[scala-library-2.11.8.jar:1.0.0-M1]
      6 frames
    8. reactivemongo.core.actors
      MongoDBSystem$$anonfun$connectAll$1.apply
      1. reactivemongo.core.actors.MongoDBSystem$$anonfun$connectAll$1.apply(actors.scala:1142)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      2. reactivemongo.core.actors.MongoDBSystem$$anonfun$connectAll$1.apply(actors.scala:1141)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      2 frames
    9. Scala
      AbstractTraversable.flatMap
      1. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)[scala-library-2.11.8.jar:1.0.0-M1]
      2. scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)[scala-library-2.11.8.jar:1.0.0-M1]
      3. scala.collection.Iterator$class.foreach(Iterator.scala:893)[scala-library-2.11.8.jar:1.0.0-M1]
      4. scala.collection.AbstractIterator.foreach(Iterator.scala:1336)[scala-library-2.11.8.jar:1.0.0-M1]
      5. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)[scala-library-2.11.8.jar:1.0.0-M1]
      6. scala.collection.AbstractIterable.foreach(Iterable.scala:54)[scala-library-2.11.8.jar:1.0.0-M1]
      7. scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241)[scala-library-2.11.8.jar:1.0.0-M1]
      8. scala.collection.AbstractTraversable.flatMap(Traversable.scala:104)[scala-library-2.11.8.jar:1.0.0-M1]
      8 frames
    10. reactivemongo.core.actors
      MongoDBSystem$$anonfun$2$$anonfun$applyOrElse$1.apply$mcV$sp
      1. reactivemongo.core.actors.MongoDBSystem$class.connectAll(actors.scala:1141)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      2. reactivemongo.core.actors.StandardDBSystem.connectAll(actors.scala:1264)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      3. reactivemongo.core.actors.MongoDBSystem$$anonfun$2$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply(actors.scala:787)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      4. reactivemongo.core.actors.MongoDBSystem$$anonfun$2$$anonfun$applyOrElse$1$$anonfun$apply$mcV$sp$1.apply(actors.scala:786)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      5. reactivemongo.core.actors.MongoDBSystem$class.reactivemongo$core$actors$MongoDBSystem$$updateNodeSet(actors.scala:982)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      6. reactivemongo.core.actors.MongoDBSystem$$anonfun$2$$anonfun$applyOrElse$1.apply$mcV$sp(actors.scala:786)[reactivemongo_2.11-0.12.1.jar:0.12.1]
      6 frames
    11. Akka Actor
      ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec
      1. akka.actor.Scheduler$$anon$7.run(Scheduler.scala:117)[akka-actor_2.11-2.3.13.jar:na]
      2. akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)[akka-actor_2.11-2.3.13.jar:na]
      3. akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)[akka-actor_2.11-2.3.13.jar:na]
      3 frames
    12. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)[scala-library-2.11.8.jar:na]
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)[scala-library-2.11.8.jar:na]
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)[scala-library-2.11.8.jar:na]
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)[scala-library-2.11.8.jar:na]
      4 frames