java.lang.IllegalStateException: ContextAware must receive PreStart as first message (got Msg(akka.typed.adapter.ActorContextAdapter@1f5884e9,2))

GitHub | durban | 2 months ago
  1. 0

    Change in ContextAware in 2.4.11

    GitHub | 2 months ago | durban
    java.lang.IllegalStateException: ContextAware must receive PreStart as first message (got Msg(akka.typed.adapter.ActorContextAdapter@1f5884e9,2))
  2. 0

    Detector processor must first be set

    GitHub | 6 months ago | abbasalim
    java.lang.IllegalStateException: Detector processor must first be set with setProcessor in order to receive detection results.
  3. 0

    Akka-http Cached connection pool throws exception when tcp connection is closed right after receiving the response

    GitHub | 10 months ago | remcobeckers
    java.lang.IllegalStateException: The first message must be `ExposedPublisher` but was [OnComplete]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BUG: PoolSlot actor does not get ExposedPublisher as first message sometimes

    GitHub | 4 months ago | drewhk
    java.lang.IllegalStateException: The first message must be `ExposedPublisher` but was [FromConnection(OnComplete)]
  6. 0

    GitHub comment 19643#177852646

    GitHub | 10 months ago | remcobeckers
    java.lang.IllegalStateException: The first message must be `ExposedPublisher` but was [Request(1)]

    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

      ContextAware must receive PreStart as first message (got Msg(akka.typed.adapter.ActorContextAdapter@1f5884e9,2))

      at akka.typed.ScalaDSL$$anonfun$ContextAware$1.apply()
    2. akka.typed
      ScalaDSL$FullTotal.message
      1. akka.typed.ScalaDSL$$anonfun$ContextAware$1.apply(ScalaDSL.scala:444)
      2. akka.typed.ScalaDSL$$anonfun$ContextAware$1.apply(ScalaDSL.scala:442)
      3. akka.typed.ScalaDSL$FullTotal.message(ScalaDSL.scala:178)
      3 frames
    3. akka.typed.adapter
      ActorAdapter$$anonfun$receive$1.applyOrElse
      1. akka.typed.adapter.ActorAdapter$$anonfun$receive$1.applyOrElse(ActorAdapter.scala:32)
      1 frame
    4. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:484)
      1 frame
    5. akka.typed.adapter
      ActorAdapter.aroundReceive
      1. akka.typed.adapter.ActorAdapter.aroundReceive(ActorAdapter.scala:9)
      1 frame
    6. 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
    7. 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