java.lang.AssertionError: assertion failed: expected class akka.actor.ActorRef, found class java.lang.String (recovery-failure:blahonga 1 1)

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

    FAILED: PersistentActorFailureSpec

    GitHub | 7 months ago | drewhk
    java.lang.AssertionError: assertion failed: expected class akka.actor.ActorRef, found class java.lang.String (recovery-failure:blahonga 1 1)
  2. 0

    Flaky test in MarathonSchedulerActorTest

    GitHub | 2 years ago | ConnorDoyle
    java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsgClass waiting for class mesosphere.marathon.MarathonSchedulerActor$CommandFailed
  3. 0

    Failed: GraphConcatSpec

    GitHub | 2 years ago | viktorklang
    java.lang.AssertionError: assertion failed: expected class akka.stream.testkit.StreamTestKit$OnError, found class akka.stream.testkit.StreamTestKit$OnNext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FAILED: TcpFlowSpec

    GitHub | 2 years ago | drewhk
    java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsgClass waiting for class akka.stream.testkit.StreamTestKit$OnError
  6. 0

    Failed ScalaUdpMulticastSpec

    GitHub | 2 years ago | 2m
    java.lang.AssertionError: assertion failed: timeout (3 seconds) during expectMsgClass waiting for class akka.io.Udp$Bound

  1. tyson925 1 times, last 4 months ago
  2. rp 1 times, last 4 months ago
  3. poroszd 1 times, last 7 months ago
18 unregistered visitors
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.AssertionError

    assertion failed: expected class akka.actor.ActorRef, found class java.lang.String (recovery-failure:blahonga 1 1)

    at scala.Predef$.assert()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:170)
    1 frame
  3. Akka Testkit
    TestKit.expectMsgType
    1. akka.testkit.TestKitBase$class.expectMsgClass_internal(TestKit.scala:436)
    2. akka.testkit.TestKitBase$class.expectMsgType(TestKit.scala:408)
    3. akka.testkit.TestKit.expectMsgType(TestKit.scala:737)
    3 frames
  4. akka.persistence
    PersistentActorFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply
    1. akka.persistence.PersistentActorFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(PersistentActorFailureSpec.scala:185)
    2. akka.persistence.PersistentActorFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(PersistentActorFailureSpec.scala:175)
    3. akka.persistence.PersistentActorFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(PersistentActorFailureSpec.scala:175)
    3 frames
  5. scalatest
    Suite$class.withFixture
    1. org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
    2. org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
    3. org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
    4. org.scalatest.Transformer.apply(Transformer.scala:22)
    5. org.scalatest.Transformer.apply(Transformer.scala:20)
    6. org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:953)
    7. org.scalatest.Suite$class.withFixture(Suite.scala:1122)
    7 frames
  6. Akka Testkit
    AkkaSpec.withFixture
    1. akka.testkit.AkkaSpec.withFixture(AkkaSpec.scala:57)
    1 frame