java.lang.AssertionError: assertion failed: expected Value(21,1), found Value(21,4)

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by patriknw
, 1 year ago
assertion failed: expected Value(21,1), found Value(21,4)
via GitHub by drewhk
, 1 year ago
assertion failed: timeout (10 minutes) during expectMsg while waiting for 203
via GitHub by drewhk
, 1 year ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for RestartCount(1)
via GitHub by Khalian
, 1 year ago
assertion failed: timeout (59998450534 nanoseconds) during expectMsg while waiting for ChangedDir(/workplace/arunavs/third_party/DevSync/src/test/data/newFile.txt)
via GitHub by jrudolph
, 10 months ago
assertion failed: expected ReplicaCount(3), found ReplicaCount(4)
via GitHub by patriknw
, 1 year ago
assertion failed: expected Ack(3,artery://systemB@localhost:58800#1724027600), found Ack(2,artery://systemB@localhost:58800#1724027600)
java.lang.AssertionError: assertion failed: expected Value(21,1), found Value(21,4)
at scala.Predef$.assert(Predef.scala:170)
at akka.testkit.TestKitBase$class.expectMsg_internal(TestKit.scala:388)
at akka.testkit.TestKitBase$class.expectMsg(TestKit.scala:364)
at akka.testkit.TestKit.expectMsg(TestKit.scala:814)
at akka.cluster.sharding.ClusterShardingFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$7$$anonfun$apply$mcV$sp$8$$anonfun$apply$mcV$sp$12.apply$mcV$sp(ClusterShardingFailureSpec.scala:216)
at akka.remote.testkit.MultiNodeSpec.runOn(MultiNodeSpec.scala:345)
at akka.cluster.sharding.ClusterShardingFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$7$$anonfun$apply$mcV$sp$8.apply$mcV$sp(ClusterShardingFailureSpec.scala:199)
at akka.cluster.sharding.ClusterShardingFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$7$$anonfun$apply$mcV$sp$8.apply(ClusterShardingFailureSpec.scala:176)
at akka.cluster.sharding.ClusterShardingFailureSpec$$anonfun$1$$anonfun$apply$mcV$sp$7$$anonfun$apply$mcV$sp$8.apply(ClusterShardingFailureSpec.scala:176)

Users with the same issue

3 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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