java.io.IOException: java.lang.IllegalStateException: not yet initialized: only setHandler is allowed in GraphStageLogic constructor

GitHub | halfninja | 3 months ago
  1. 0

    GitHub comment 6579#248284359

    GitHub | 3 months ago | halfninja
    java.io.IOException: java.lang.IllegalStateException: not yet initialized: only setHandler is allowed in GraphStageLogic constructor
  2. 0

    GitHub comment 21504#248384587

    GitHub | 3 months ago | halfninja
    java.lang.IllegalStateException: not yet initialized: only setHandler is allowed in GraphStageLogic constructor
  3. 0

    support for exposing AsyncCallback in materialized value

    GitHub | 7 months ago | patriknw
    java.lang.IllegalStateException: not yet initialized: only setHandler is allowed in GraphStageLogic constructor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    errors from FlattenMerge during WS client Autobahn tests

    GitHub | 1 year ago | ktoso
    java.lang.IllegalStateException: not yet initialized: only setHandler is allowed in GraphStageLogic constructor
  6. 0

    GitHub comment 19103#162843600

    GitHub | 1 year ago | viktorklang
    java.lang.IllegalStateException: not yet initialized: only setHandler is allowed in GraphStageLogic constructor

    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.lang.IllegalStateException

      not yet initialized: only setHandler is allowed in GraphStageLogic constructor

      at akka.stream.stage.GraphStageLogic.interpreter()
    2. akka.stream.stage
      GraphStageLogic$$anon$2.invoke
      1. akka.stream.stage.GraphStageLogic.interpreter(GraphStage.scala:242)
      2. akka.stream.stage.GraphStageLogic$$anon$2.invoke(GraphStage.scala:885)
      2 frames
    3. akka.stream.impl
      OutputStreamAdapter.flush
      1. akka.stream.impl.io.OutputStreamSourceStage$$anon$1.wakeUp(OutputStreamSourceStage.scala:73)
      2. akka.stream.impl.io.OutputStreamSourceStage$$anonfun$createLogicAndMaterializedValue$2.apply(OutputStreamSourceStage.scala:154)
      3. akka.stream.impl.io.OutputStreamSourceStage$$anonfun$createLogicAndMaterializedValue$2.apply(OutputStreamSourceStage.scala:154)
      4. akka.stream.impl.io.OutputStreamAdapter$$anonfun$sendMessage$1.apply$mcV$sp(OutputStreamSourceStage.scala:193)
      5. akka.stream.impl.io.OutputStreamAdapter.send(OutputStreamSourceStage.scala:172)
      6. akka.stream.impl.io.OutputStreamAdapter.sendMessage(OutputStreamSourceStage.scala:191)
      7. akka.stream.impl.io.OutputStreamAdapter.flush(OutputStreamSourceStage.scala:215)
      7 frames
    4. Java RT
      PrintWriter.flush
      1. sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:297)
      2. sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
      3. java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
      4. java.io.PrintWriter.flush(PrintWriter.java:320)
      4 frames
    5. controllers
      HomeController$$anonfun$controllers$HomeController$$brokenSource$1.apply
      1. controllers.HomeController.write(HomeController.scala:36)
      2. controllers.HomeController$$anonfun$controllers$HomeController$$brokenSource$1.apply(HomeController.scala:22)
      3. controllers.HomeController$$anonfun$controllers$HomeController$$brokenSource$1.apply(HomeController.scala:22)
      3 frames
    6. akka.stream.impl
      ActorMaterializerImpl.materialize
      1. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:959)
      2. akka.stream.impl.MaterializerSession.resolveMaterialized(StreamLayout.scala:958)
      3. akka.stream.impl.MaterializerSession.materializeModule(StreamLayout.scala:936)
      4. akka.stream.impl.MaterializerSession.materialize(StreamLayout.scala:882)
      5. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:240)
      6. akka.stream.impl.ActorMaterializerImpl.materialize(ActorMaterializerImpl.scala:138)
      6 frames
    7. akka.stream.scaladsl
      Source.runWith
      1. akka.stream.scaladsl.RunnableGraph.run(Flow.scala:350)
      2. akka.stream.scaladsl.Source.runWith(Source.scala:81)
      2 frames
    8. Play Server
      NettyModelConversion$$anonfun$convertResult$1.apply
      1. play.core.server.netty.NettyModelConversion.play$core$server$netty$NettyModelConversion$$createChunkedResponse(NettyModelConversion.scala:256)
      2. play.core.server.netty.NettyModelConversion$$anonfun$convertResult$1.apply(NettyModelConversion.scala:189)
      3. play.core.server.netty.NettyModelConversion$$anonfun$convertResult$1.apply(NettyModelConversion.scala:166)
      3 frames
    9. play.core.server
      ServerResultUtils$.resultConversionWithErrorHandling
      1. play.core.server.common.ServerResultUtils$.resultConversionWithErrorHandling(ServerResultUtils.scala:127)
      1 frame
    10. Play Server
      PlayRequestHandler$$anonfun$play$core$server$netty$PlayRequestHandler$$handleAction$2$$anonfun$apply$3.apply
      1. play.core.server.netty.NettyModelConversion.convertResult(NettyModelConversion.scala:235)
      2. play.core.server.netty.PlayRequestHandler$$anonfun$play$core$server$netty$PlayRequestHandler$$handleAction$2$$anonfun$apply$3.apply(PlayRequestHandler.scala:273)
      3. play.core.server.netty.PlayRequestHandler$$anonfun$play$core$server$netty$PlayRequestHandler$$handleAction$2$$anonfun$apply$3.apply(PlayRequestHandler.scala:267)
      3 frames
    11. Scala
      CallbackRunnable.run
      1. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
      2. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
      3. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      3 frames
    12. Play Iteratees
      Execution$trampoline$.execute
      1. play.api.libs.iteratee.Execution$trampoline$.executeScheduled(Execution.scala:109)
      2. play.api.libs.iteratee.Execution$trampoline$.execute(Execution.scala:71)
      2 frames
    13. Scala
      CallbackRunnable.run
      1. scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40)
      2. scala.concurrent.impl.Promise$DefaultPromise.tryComplete(Promise.scala:248)
      3. scala.concurrent.Promise$class.complete(Promise.scala:55)
      4. scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153)
      5. scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:254)
      6. scala.concurrent.Future$$anonfun$flatMap$1$$anonfun$apply$3.apply(Future.scala:254)
      7. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      8. scala.concurrent.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:63)
      9. scala.concurrent.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:78)
      10. scala.concurrent.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:55)
      11. scala.concurrent.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:55)
      12. scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
      13. scala.concurrent.BatchingExecutor$Batch.run(BatchingExecutor.scala:54)
      14. scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:599)
      15. scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:106)
      16. scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:597)
      17. scala.concurrent.impl.CallbackRunnable.executeWithValue(Promise.scala:40)
      18. scala.concurrent.impl.Promise$KeptPromise.onComplete(Promise.scala:333)
      19. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:254)
      20. scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
      21. scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
      21 frames
    14. Akka Actor
      BatchingExecutor$BlockableBatch$$anonfun$run$1.apply
      1. akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
      2. akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
      3. akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
      4. akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
      4 frames
    15. Scala
      BlockContext$.withBlockContext
      1. scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
      1 frame
    16. Akka Actor
      ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec
      1. akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
      2. akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:39)
      3. akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:409)
      3 frames
    17. 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