java.lang.AssertionError

assertion failed: expected List(a-1, a-2, rc-1, rc-2), found List(a-1, a-2, rc-1, rc-2, rc-3)


Solutions on the web7667

Solution icon of github
via GitHub by patriknw
, 7 months ago
assertion failed: expected List(a-1, a-2, rc-1, rc-2), found List(a-1, a-2, rc-1, rc-2, rc-3)

Solution icon of github
assertion failed: expected 2, found 1

Solution icon of github
assertion failed: expected a, found delayed-2

Solution icon of github
via GitHub by krasserm
, 1 year ago
assertion failed: expected a, found delayed-2

Solution icon of github
expected:<S.A [@0,0:0='a',<3>,1:0] [@1,1:1='b',<1>,1:1] [@2,2:2='c',<4>,1:2] [@3,3:2='<EOF>',<-1>,1:3] > but was:<null>

Solution icon of github
assertion failed: expected List(a, c, b), found List(a)

Solution icon of github
via GitHub by pboyer
, 9 months ago
expected:<line 1:3 reportAttemptingFullContext d=3 (expr_primary), input='a(i)' line 1:7 reportAmbiguity d=3 (expr_primary): ambigAlts={2, 3}, input='a(i)<-x' > but was:<null>

Solution icon of github
expected:<line 1:3 reportAttemptingFullContext d=3 (expr_primary), input='a(i)' line 1:7 reportAmbiguity d=3 (expr_primary): ambigAlts={2, 3}, input='a(i)<-x' > but was:<null>

Solution icon of github
via GitHub by willfaught
, 9 months ago
expected:<line 1:3 reportAttemptingFullContext d=3 (expr_primary), input='a(i)' line 1:7 reportAmbiguity d=3 (expr_primary): ambigAlts={2, 3}, input='a(i)<-x' > but was:<null>

Solution icon of googlegroups
> Expected: (a collection containing "Text 1" and a collection > containing "Text 2" and a collection containing "Text 3") > got: <[Text 1, Text 3]>

Stack trace

  • java.lang.AssertionError: assertion failed: expected List(a-1, a-2, rc-1, rc-2), found List(a-1, a-2, rc-1, rc-2, rc-3) 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.persistence.PersistentActorSpec$$anonfun$1$$anonfun$apply$mcV$sp$44.apply(PersistentActorSpec.scala:1157) at akka.persistence.PersistentActorSpec$$anonfun$1$$anonfun$apply$mcV$sp$44.apply(PersistentActorSpec.scala:1154)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

3 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
Once, 8 months ago
21 more bugmates