java.lang.AssertionError: assertion failed: expected OnNext(TextMessage.Strict(hello)), found OnComplete

GitHub | jonas | 7 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

    GitHub comment 330#248399599

    GitHub | 7 months ago | jonas
    java.lang.AssertionError: assertion failed: expected OnNext(TextMessage.Strict(hello)), found OnComplete
  2. 0

    FAILED: RecipeKeepAlive

    GitHub | 2 years ago | ktoso
    java.lang.AssertionError: assertion failed: expected OnNext(ByteString(11)), found OnNext(ByteString(3))
  3. 0

    GitHub comment 18820#153051559

    GitHub | 1 year ago | agolubev
    java.lang.AssertionError: assertion failed: expected OnNext(ByteString(11)), found OnNext(ByteString(3))
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 18786#152970557

    GitHub | 1 year ago | hepin1989
    java.lang.AssertionError: assertion failed: expected OnNext(ByteString(11)), found OnNext(ByteString(3))
  6. 0

    FAILED: FusableProcessorTest

    GitHub | 1 year ago | ktoso
    java.lang.AssertionError: assertion failed: expected OnNext(Vector(1, 3, 4)), found OnNext(Vector(1, 3))
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 OnNext(TextMessage.Strict(hello)), found OnComplete

    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.testkit
    TestSubscriber$ManualProbe.expectNext
    1. akka.stream.testkit.TestSubscriber$ManualProbe.expectNext(StreamTestKit.scala:280)
    1 frame
  5. akka.http.impl
    WebSocketIntegrationSpec$$anonfun$1$$anonfun$apply$mcV$sp$2$$anonfun$apply$3.apply
    1. akka.http.impl.engine.ws.WebSocketIntegrationSpec$$anonfun$1$$anonfun$apply$mcV$sp$2$$anonfun$apply$3.apply(WebSocketIntegrationSpec.scala:123)
    2. akka.http.impl.engine.ws.WebSocketIntegrationSpec$$anonfun$1$$anonfun$apply$mcV$sp$2$$anonfun$apply$3.apply(WebSocketIntegrationSpec.scala:68)
    2 frames
  6. akka.stream.testkit
    Utils$.assertAllStagesStopped
    1. akka.stream.testkit.Utils$.assertAllStagesStopped(Utils.scala:25)
    1 frame
  7. akka.http.impl
    WebSocketIntegrationSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply
    1. akka.http.impl.engine.ws.WebSocketIntegrationSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(WebSocketIntegrationSpec.scala:68)
    2. akka.http.impl.engine.ws.WebSocketIntegrationSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(WebSocketIntegrationSpec.scala:68)
    2 frames