java.util.NoSuchElementException: Flux#last() didn't observe any onNext signal

GitHub | ericbottard | 6 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 85#249858422

    GitHub | 6 months ago | ericbottard
    java.util.NoSuchElementException: Flux#last() didn't observe any onNext signal

    Root Cause Analysis

    1. java.util.NoSuchElementException

      Flux#last() didn't observe any onNext signal

      at reactor.core.publisher.MonoTakeLastOne$TakeLastOneSubscriber.onComplete()
    2. reactor.core.publisher
      FluxEmpty.subscribe
      1. reactor.core.publisher.MonoTakeLastOne$TakeLastOneSubscriber.onComplete(MonoTakeLastOne.java:93)
      2. reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:801)
      3. reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:561)
      4. reactor.core.publisher.FluxFlatMap$FlatMapMain.drain(FluxFlatMap.java:541)
      5. reactor.core.publisher.FluxFlatMap$FlatMapMain.onComplete(FluxFlatMap.java:534)
      6. reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)
      7. reactor.core.publisher.FluxFilter$FilterSubscriber.onComplete(FluxFilter.java:157)
      8. reactor.core.publisher.Operators.complete(Operators.java:182)
      9. reactor.core.publisher.FluxEmpty.subscribe(FluxEmpty.java:44)
      9 frames