java.lang.IllegalStateException: no handler defined in stage akka.http.impl.engine.http2.Http2ServerDemux$$anon$1@3d24940f for port Demux.substreamIn

GitHub | ktoso | 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

    Http2ServerTest fails with undefined handler

    GitHub | 7 months ago | ktoso
    java.lang.IllegalStateException: no handler defined in stage akka.http.impl.engine.http2.Http2ServerDemux$$anon$1@3d24940f for port Demux.substreamIn
  2. 0

    akka-http file upload doesn't support chinese filename

    GitHub | 2 years ago | huanwuji
    java.lang.IllegalStateException: Substream publisher only supports one subscriber (which is allowed, see reactive-streams specification, rule 1.12)

    Root Cause Analysis

    1. java.lang.IllegalStateException

      no handler defined in stage akka.http.impl.engine.http2.Http2ServerDemux$$anon$1@3d24940f for port Demux.substreamIn

      at akka.stream.impl.fusing.GraphInterpreter$GraphAssembly.materialize()
    2. akka.stream.impl
      MaterializerSession$$anonfun$materializeModule$1.apply
      1. akka.stream.impl.fusing.GraphInterpreter$GraphAssembly.materialize(GraphInterpreter.scala:214)
      2. akka.stream.impl.ActorMaterializerImpl$$anon$2.matGraph(ActorMaterializerImpl.scala:214)
      3. akka.stream.impl.ActorMaterializerImpl$$anon$2.materializeAtomic(ActorMaterializerImpl.scala:201)
      4. akka.stream.impl.MaterializerSession$$anonfun$materializeModule$1.apply(StreamLayout.scala:919)
      5. akka.stream.impl.MaterializerSession$$anonfun$materializeModule$1.apply(StreamLayout.scala:915)
      5 frames
    3. Scala
      Set$Set2.foreach
      1. scala.collection.immutable.Set$Set2.foreach(Set.scala:128)
      1 frame
    4. akka.stream.impl
      ActorMaterializerImpl.materialize
      1. akka.stream.impl.MaterializerSession.materializeModule(StreamLayout.scala:915)
      2. akka.stream.impl.MaterializerSession.materialize(StreamLayout.scala:882)
      3. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:240)
      4. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:138)
      4 frames
    5. akka.stream.scaladsl
      RunnableGraph.run
      1. akka.stream.scaladsl.RunnableGraph.run(Flow.scala:350)
      1 frame
    6. akka.http.scaladsl
      Http2Ext$$anonfun$bindAndHandleAsync$1.apply
      1. akka.http.scaladsl.Http2Ext$$anonfun$bindAndHandleAsync$1.apply(Http2.scala:92)
      2. akka.http.scaladsl.Http2Ext$$anonfun$bindAndHandleAsync$1.apply(Http2.scala:84)
      2 frames
    7. akka.stream.impl
      ActorGraphInterpreter$$anonfun$receive$1.applyOrElse
      1. akka.stream.impl.fusing.MapAsyncUnordered$$anon$22.onPush(Ops.scala:1082)
      2. akka.stream.impl.fusing.GraphInterpreter.processPush(GraphInterpreter.scala:747)
      3. akka.stream.impl.fusing.GraphInterpreter.processEvent(GraphInterpreter.scala:710)
      4. akka.stream.impl.fusing.GraphInterpreter.execute(GraphInterpreter.scala:616)
      5. akka.stream.impl.fusing.GraphInterpreterShell.runBatch(ActorGraphInterpreter.scala:471)
      6. akka.stream.impl.fusing.GraphInterpreterShell.receive(ActorGraphInterpreter.scala:423)
      7. akka.stream.impl.fusing.ActorGraphInterpreter.akka$stream$impl$fusing$ActorGraphInterpreter$$processEvent(ActorGraphInterpreter.scala:603)
      8. akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$receive$1.applyOrElse(ActorGraphInterpreter.scala:618)
      8 frames
    8. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:484)
      1 frame
    9. akka.stream.impl
      ActorGraphInterpreter.aroundReceive
      1. akka.stream.impl.fusing.ActorGraphInterpreter.aroundReceive(ActorGraphInterpreter.scala:529)
      1 frame
    10. Akka Actor
      Mailbox.exec
      1. akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      2. akka.actor.ActorCell.invoke(ActorCell.scala:495)
      3. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      4. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      5. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      5 frames
    11. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames