scala.MatchError: (Actor[akka://MySys/deadLetters],scala.concurrent.impl.Promise$KeptPromise@1603220d) (of class scala.Tuple2)

GitHub | durban | 1 year 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

    MatchError with akka.typed.AskPattern

    GitHub | 1 year ago | durban
    scala.MatchError: (Actor[akka://MySys/deadLetters],scala.concurrent.impl.Promise$KeptPromise@1603220d) (of class scala.Tuple2)

    Root Cause Analysis

    1. scala.MatchError

      (Actor[akka://MySys/deadLetters],scala.concurrent.impl.Promise$KeptPromise@1603220d) (of class scala.Tuple2)

      at akka.typed.AskPattern$PromiseRef.<init>()
    2. akka.typed
      AskPattern$Askable$.$qmark$extension
      1. akka.typed.AskPattern$PromiseRef.<init>(Ask.scala:42)
      2. akka.typed.AskPattern$PromiseRef$.apply(Ask.scala:60)
      3. akka.typed.AskPattern$.ask(Ask.scala:64)
      4. akka.typed.AskPattern$Askable$.$qmark$extension(Ask.scala:38)
      4 frames
    3. com.example.ask
      TypedAsk$$anonfun$root$1$$anonfun$apply$2.apply
      1. com.example.ask.TypedAsk$$anonfun$root$1$$anonfun$apply$2.apply(TypedAsk.scala:26)
      2. com.example.ask.TypedAsk$$anonfun$root$1$$anonfun$apply$2.apply(TypedAsk.scala:22)
      2 frames
    4. akka.typed
      ActorAdapter$$anonfun$receive$1.applyOrElse
      1. akka.typed.ScalaDSL$Static.message(ScalaDSL.scala:240)
      2. akka.typed.ActorAdapter$$anonfun$receive$1.applyOrElse(Impl.scala:31)
      2 frames
    5. Akka Actor
      Actor$class.aroundReceive
      1. akka.actor.Actor$class.aroundReceive(Actor.scala:480)
      1 frame
    6. akka.typed
      ActorAdapter.aroundReceive
      1. akka.typed.ActorAdapter.aroundReceive(Impl.scala:17)
      1 frame
    7. 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
    8. 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)[ERROR]
      4 frames