java.lang.AssertionError: assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$sc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$rc])

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 HackToday
, 1 year ago
assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$sc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$rc])
via GitHub by ktoso
, 1 year ago
assertion failed: received unexpected message OnComplete
via GitHub by ktoso
, 1 year ago
assertion failed: timeout (19976982285 nanoseconds) during expectMsgClass waiting for class akka.cluster.StressMultiJvmSpec$WorkResult
via Google Groups by Rupert Smith, 7 months ago
via Google Groups by Nils Kilden-Pedersen, 5 months ago
assertion failed: bad position: [8102:8101]
java.lang.AssertionError: assertion failed: expected: Terminated TestActor[akka://AppStartActorTest/user/$$sc] but got unexpected message Terminated(TestActor[akka://AppStartActorTest/user/$$rc])
at scala.Predef$.assert(Predef.scala:170)
at mesosphere.marathon.upgrade.AppStartActorTest.expectMsgPF(AppStartActorTest.scala:20)
at mesosphere.marathon.upgrade.AppStartActorTest.expectTerminated(AppStartActorTest.scala:20)
at mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$5.apply(AppStartActorTest.scala:108)
at mesosphere.marathon.upgrade.AppStartActorTest$$anonfun$5.apply(AppStartActorTest.scala:95)
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.FunSuiteLike$$anon$1.apply(FunSuiteLike.scala:186)
at mesosphere.marathon.upgrade.AppStartActorTest.withFixture(AppStartActorTest.scala:20)
at org.scalatest.FunSuiteLike$class.invokeWithFixture$1(FunSuiteLike.scala:183)
at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
at org.scalatest.FunSuiteLike$$anonfun$runTest$1.apply(FunSuiteLike.scala:196)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:289)
at org.scalatest.FunSuiteLike$class.runTest(FunSuiteLike.scala:196)
at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$runTest(AppStartActorTest.scala:20)
at org.scalatest.BeforeAndAfter$class.runTest(BeforeAndAfter.scala:203)
at mesosphere.marathon.upgrade.AppStartActorTest.runTest(AppStartActorTest.scala:20)
at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
at org.scalatest.FunSuiteLike$$anonfun$runTests$1.apply(FunSuiteLike.scala:229)
at org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:396)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:384)
at org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:379)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:461)
at org.scalatest.FunSuiteLike$class.runTests(FunSuiteLike.scala:229)
at mesosphere.marathon.upgrade.AppStartActorTest.runTests(AppStartActorTest.scala:20)
at org.scalatest.Suite$class.run(Suite.scala:1147)
at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$FunSuiteLike$$super$run(AppStartActorTest.scala:20)
at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
at org.scalatest.FunSuiteLike$$anonfun$run$1.apply(FunSuiteLike.scala:233)
at org.scalatest.SuperEngine.runImpl(Engine.scala:521)
at org.scalatest.FunSuiteLike$class.run(FunSuiteLike.scala:233)
at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfter$$super$run(AppStartActorTest.scala:20)
at org.scalatest.BeforeAndAfter$class.run(BeforeAndAfter.scala:258)
at mesosphere.marathon.upgrade.AppStartActorTest.org$scalatest$BeforeAndAfterAll$$super$run(AppStartActorTest.scala:20)
at org.scalatest.BeforeAndAfterAll$class.liftedTree1$1(BeforeAndAfterAll.scala:213)
at org.scalatest.BeforeAndAfterAll$class.run(BeforeAndAfterAll.scala:210)
at mesosphere.marathon.upgrade.AppStartActorTest.run(AppStartActorTest.scala:20)
at org.scalatest.tools.Framework.org$scalatest$tools$Framework$$runSuite(Framework.scala:314)
at sbt.ForkMain$Run$2.call(ForkMain.java:296)
at sbt.ForkMain$Run$2.call(ForkMain.java:286)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

4 times, 5 days ago
6 times, 2 months ago
Once, 3 months ago
4 times, 3 months ago
Once, 5 months ago

Write tip

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