java.lang.IllegalStateException: Expected `Content-Length: 39` bytes, but only 0 were written.

GitHub | dbousamra | 5 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

    Expected `Content-Length: 39` bytes, but only 0 were written.

    GitHub | 5 months ago | dbousamra
    java.lang.IllegalStateException: Expected `Content-Length: 39` bytes, but only 0 were written.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Expected `Content-Length: 39` bytes, but only 0 were written.

      at org.http4s.blaze.util.IdentityWriter.org$http4s$blaze$util$IdentityWriter$$$anonfun$3()
    2. org.http4s.blaze
      IdentityWriter.org$http4s$blaze$util$IdentityWriter$$$anonfun$3
      1. org.http4s.blaze.util.IdentityWriter.org$http4s$blaze$util$IdentityWriter$$$anonfun$3(IdentityWriter.scala:58)
      1 frame
    3. Scala
      CallbackRunnable.run
      1. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:253)
      2. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
      3. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      3 frames
    4. 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