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])


Solutions on the web8232

Solution icon of github
via GitHub by drewhk
, 7 months 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])

Solution icon of github
via GitHub by ktoso
, 1 year ago
assertion failed: expected: no longer watched by but got unexpected message Debug(akka://lifecycle/user,class akka.actor.LocalActorRefProvider$Guardian,now supervising TestActor[akka://lifecycle/user/$$e])

Solution icon of github
via GitHub by patriknw
, 1 year ago
assertion failed: received unexpected message Debug(EventStreamUnsubscriber,class akka.event.EventStreamUnsubscriber,watching Actor[akka://EventStreamSpec/system/testActor227#-1045480362] in order to unsubscribe from EventStream when it terminates)

Solution icon of github
via GitHub by cchantep
, 4 months ago
assertion failed: expected no StreamSupervisor children, but got [Actor[akka://IntegrationSpec/user/StreamSupervisor-0/flow-14-1-unknown-operation#-1759701395]]

Solution icon of github
via GitHub by drewhk
, 1 year ago
assertion failed: expected no StreamSupervisor children, but got [Actor[akka://TlsSpec/user/$a/flow-78-1-unknown-operation#1655583237]]

Solution icon of github
assertion failed: expected no StreamSupervisor children, but got [Actor[akka://DontLeakActorsOnFailingConnectionSpecs/user/StreamSupervisor-101/flow-0-0-unknown-operation#-930512737]]

Solution icon of github
via GitHub by ktoso
, 1 year ago
assertion failed: expected no StreamSupervisor children, but got [Actor[akka://DontLeakActorsOnFailingConnectionSpecs/user/StreamSupervisor-50/flow-0-0-unknown-operation#-1505602400]]

Solution icon of github
assertion failed: expected no StreamSupervisor children, but got [Actor[akka://DontLeakActorsOnFailingConnectionSpecs/user/StreamSupervisor-37/flow-0-0-unknown-operation#1027349078]]

Solution icon of github
assertion failed: expected no StreamSupervisor children, but got [Actor[akka://DontLeakActorsOnFailingConnectionSpecs/user/StreamSupervisor-101/flow-0-0-unknown-operation#-930512737]]

Solution icon of github
assertion failed: expected no StreamSupervisor children, but got [Actor[akka://DontLeakActorsOnFailingConnectionSpecs/user/StreamSupervisor-37/flow-0-0-unknown-operation#1262236023]]

Stack trace

  • 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)

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