java.nio.channels.ReadPendingException

GitHub | dbousamra | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java AsynchronousSocketChannel read loop

    Stack Overflow | 1 year ago | Wexo
    java.nio.channels.ReadPendingException

    Root Cause Analysis

    1. java.nio.channels.ReadPendingException

      No message provided

      at sun.nio.ch.AsynchronousSocketChannelImpl.read()
    2. Java RT
      AsynchronousSocketChannel.read
      1. sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:251)
      2. sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
      3. java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:420)
      3 frames
    3. org.http4s.blaze
      Tail$class.channelRead
      1. org.http4s.blaze.channel.nio2.ByteBufferHead.readRequest(ByteBufferHead.scala:87)
      2. org.http4s.blaze.pipeline.Tail$class.channelRead(Stages.scala:76)
      3. org.http4s.blaze.pipeline.stages.TimeoutStageBase.channelRead(TimeoutStageBase.scala:12)
      4. org.http4s.blaze.pipeline.stages.QuietTimeoutStage.readRequest(QuietTimeoutStage.scala:21)
      5. org.http4s.blaze.pipeline.Tail$class.channelRead(Stages.scala:76)
      5 frames
    4. org.http4s.server
      Http1ServerStage.channelRead
      1. org.http4s.server.blaze.Http1ServerStage.channelRead(Http1ServerStage.scala:42)
      1 frame
    5. org.http4s.blaze
      Http1Stage$$anonfun$1.apply
      1. org.http4s.blaze.Http1Stage$$anonfun$1.org$http4s$blaze$Http1Stage$class$$nestedInanonfun$$go$1(Http1Stage.scala:175)
      2. org.http4s.blaze.Http1Stage$$anonfun$1.apply(Http1Stage.scala:197)
      3. org.http4s.blaze.Http1Stage$$anonfun$1.apply(Http1Stage.scala:161)
      3 frames
    6. Scalaz Concurrent
      Task.runAsync
      1. scalaz.concurrent.Future$$anonfun$async$1.apply(Future.scala:376)
      2. scalaz.concurrent.Future$$anonfun$async$1.apply(Future.scala:376)
      3. scalaz.concurrent.Future.listen(Future.scala:77)
      4. scalaz.concurrent.Future.runAsync(Future.scala:142)
      5. scalaz.concurrent.Task.runAsync(Task.scala:153)
      5 frames
    7. org.http4s.blaze
      ProcessWriter$$anon$1.run
      1. org.http4s.blaze.util.ProcessWriter$$anon$1.run(ProcessWriter.scala:77)
      1 frame
    8. 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