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

GitHub | drewhk | 2 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    FAILED: FlowLogSpec

    GitHub | 2 months ago | drewhk
    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])
  2. 0

    GitHub comment 19482#173316767

    GitHub | 1 year ago | agolubev
    java.lang.AssertionError: assertion failed: expected OnComplete, found OnNext((2,1))
  3. 0

    GitHub comment 20137#204308224

    GitHub | 11 months ago | patriknw
    java.lang.AssertionError: assertion failed: expected OnError(akka.stream.scaladsl.FlowRecoverWithSpec$$anon$1: ex ), found OnNext(11)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FAILED: DurablePruningSpec

    GitHub | 2 months ago | jrudolph
    java.lang.AssertionError: assertion failed: expected ReplicaCount(3), found ReplicaCount(4)
  6. 0

    FlowInterleaveSpec

    GitHub | 1 year ago | drewhk
    java.lang.AssertionError: assertion failed: expected OnError(akka.stream.testkit.BaseTwoStreamsSetup$$anon$1: test ), found OnNext(1)

  1. tyson925 1 times, last 3 months ago
  2. rp 1 times, last 3 months ago
  3. poroszd 1 times, last 6 months ago
17 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Scala
    Predef$.assert
    1. scala.Predef$.assert(Predef.scala:170)
    1 frame
  3. Akka Testkit
    TestKit.expectMsg
    1. akka.testkit.TestKitBase$class.expectMsg_internal(TestKit.scala:388)
    2. akka.testkit.TestKitBase$class.expectMsg(TestKit.scala:364)
    3. akka.testkit.TestKit.expectMsg(TestKit.scala:814)
    3 frames
  4. akka.stream.scaladsl
    FlowLogSpec$$anonfun$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$5.apply
    1. akka.stream.scaladsl.FlowLogSpec$$anonfun$1$$anonfun$apply$mcV$sp$1$$anonfun$apply$mcV$sp$5.apply(FlowLogSpec.scala:41)
    1 frame