java.lang.AssertionError: assertion failed: expected Debug(akka.stream.Log(akka://FlowLogSpec/user/StreamSupervisor-165),class akka.stream.Materializer,[my-debug] Element: 1), found Debug(akka.serialization.Serialization(akka://FlowLogSpec),class akka.event.DummyClassForStringSources,Using serializer[akka.serialization.JavaSerializer] for message [akka.event.EventStreamUnsubscriber$Register])

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 Debug(akka.stream.Log(akka://FlowLogSpec/user/StreamSupervisor-165),class akka.stream.Materializer,[my-debug] Element: 1), found Debug(akka.serialization.Serialization(akka://FlowLogSpec),class akka.event.DummyClassForStringSources,Using serializer[akka.serialization.JavaSerializer] for message [akka.event.EventStreamUnsubscriber$Register])
via GitHub by drewhk
, 2 years ago
assertion failed: timeout (3 seconds) during expectMsg while waiting for RestartCount(1)
via GitHub by drewhk
, 1 year ago
assertion failed: timeout (10 minutes) during expectMsg while waiting for 203
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
, 1 year 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 Debug(akka.stream.Log(akka://FlowLogSpec/user/StreamSupervisor-165),class akka.stream.Materializer,[my-debug] Element: 1), found Debug(akka.serialization.Serialization(akka://FlowLogSpec),class akka.event.DummyClassForStringSources,Using serializer[akka.serialization.JavaSerializer] for message [akka.event.EventStreamUnsubscriber$Register])
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.stream.scaladsl.FlowLogSpec$$anonfun$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$5.apply(FlowLogSpec.scala:41)

Users with the same issue

4 times, 14 hours 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.