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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by drewhk
, 1 year ago
assertion failed: expected class akka.actor.ActorRef, found class java.lang.String (recovery-failure:blahonga 1 1)
via GitHub by 2m
, 2 months ago
assertion failed: expected class akka.cluster.sharding.ClusterShardingLeavingSpec$Locations, found class akka.remote.RemoteActorRef (Actor[akka.tcp://ClusterShardingLeavingSpec@localhost:60990/system/sharding/Entity/1/1#876114527])
via GitHub by johanandren
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsgClass waiting for class akka.actor.ActorIdentity
via GitHub by johanandren
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsgClass waiting for class akka.actor.ActorIdentity
via GitHub by 2m
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsgClass waiting for class akka.pattern.BackoffSupervisor$CurrentChild
via GitHub by johanandren
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsgClass waiting for class akka.actor.ActorIdentity
java.lang.AssertionError: assertion failed: expected class akka.actor.ActorRef, found class java.lang.String (recovery-failure:blahonga 1 1)
at scala.Predef$.assert(Predef.scala:170)
at akka.testkit.TestKitBase$class.expectMsgClass_internal(TestKit.scala:436)
at akka.testkit.TestKitBase$class.expectMsgType(TestKit.scala:408)
at akka.testkit.TestKit.expectMsgType(TestKit.scala:737)
at akka.persistence.PersistentActorFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(PersistentActorFailureSpec.scala:185)
at akka.persistence.PersistentActorFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(PersistentActorFailureSpec.scala:175)
at akka.persistence.PersistentActorFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(PersistentActorFailureSpec.scala:175)
at org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:953)
at akka.testkit.AkkaSpec.withFixture(AkkaSpec.scala:57)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
22 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.