java.util.NoSuchElementException: Binding was unbound before it was completely finished

GitHub | reid-spencer | 4 months ago
  1. 0

    GitHub comment 16894#236729283

    GitHub | 4 months ago | reid-spencer
    java.util.NoSuchElementException: Binding was unbound before it was completely finished
  2. 0

    When using the {{WebClient}} with the following example and the server returns HTTP 401: {code} Mono<ResponseEntity<Map>> response = this.webClient                 .perform(peopleRequest().apply(httpBasic("rob","invalid")))                 .extract(response(Map.class)); {code} The client throws a {{NoSuchElementException}}: {code} java.util.NoSuchElementException: Source was empty     at reactor.core.publisher.MonoSingle$SingleSubscriber.onComplete(MonoSingle.java:179)     at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)     at reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:762)     at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:520)     at reactor.core.publisher.FluxFlatMap$FlatMapMain.drain(FluxFlatMap.java:500)     at reactor.core.publisher.FluxFlatMap$FlatMapMain.onComplete(FluxFlatMap.java:493)     at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144)     at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onComplete(FluxMapFuseable.java:155)     at reactor.core.publisher.FluxSubscribeOn$SubscribeOnPipeline.onComplete(FluxSubscribeOn.java:136)     at reactor.core.publisher.Operators.complete(Operators.java:182)     at reactor.ipc.netty.common.NettyChannelHandler.subscribe(NettyChannelHandler.java:537)     at reactor.core.publisher.FluxSource.subscribe(FluxSource.java:59)     at reactor.core.publisher.FluxSubscribeOn$SourceSubscribeTask.run(FluxSubscribeOn.java:234)     at reactor.core.scheduler.ExecutorScheduler$ExecutorTrackedRunnable.run(ExecutorScheduler.java:136)     at io.netty.util.concurrent.SingleThreadEventExecutor.safeExecute(SingleThreadEventExecutor.java:451)     at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418)     at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:401)     at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)     at java.lang.Thread.run(Thread.java:745) {code}

    Spring JIRA | 4 months ago | Brian Clozel
    java.util.NoSuchElementException: Source was empty
  3. 0

    GitHub comment 22#217398355

    GitHub | 7 months ago | dmitry-zhuravlev
    java.util.NoSuchElementException: No element matching predicate was found.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception when one module depends on the jar from another module

    GitHub | 6 months ago | sargunster
    java.util.NoSuchElementException: No element matching predicate was found.
  6. 0

    GitHub comment 22#217445498

    GitHub | 7 months ago | cbeust
    java.util.NoSuchElementException: No element matching predicate was found.

    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.util.NoSuchElementException

      Binding was unbound before it was completely finished

      at akka.stream.impl.io.ConnectionSourceStage$$anon$1.postStop()
    2. akka.stream.impl
      ActorGraphInterpreter$$anonfun$postStop$1.apply
      1. akka.stream.impl.io.ConnectionSourceStage$$anon$1.postStop(TcpStages.scala:139)
      2. akka.stream.impl.fusing.GraphInterpreter.finalizeStage(GraphInterpreter.scala:683)
      3. akka.stream.impl.fusing.GraphInterpreter.finish(GraphInterpreter.scala:493)
      4. akka.stream.impl.fusing.GraphInterpreterShell.tryAbort(ActorGraphInterpreter.scala:509)
      5. akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$postStop$1.apply(ActorGraphInterpreter.scala:641)
      6. akka.stream.impl.fusing.ActorGraphInterpreter$$anonfun$postStop$1.apply(ActorGraphInterpreter.scala:641)
      6 frames
    3. Scala
      Set$Set1.foreach
      1. scala.collection.immutable.Set$Set1.foreach(Set.scala:94)
      1 frame
    4. akka.stream.impl
      ActorGraphInterpreter.postStop
      1. akka.stream.impl.fusing.ActorGraphInterpreter.postStop(ActorGraphInterpreter.scala:641)
      1 frame
    5. Akka Actor
      Actor$class.aroundPostStop
      1. akka.actor.Actor$class.aroundPostStop(Actor.scala:494)
      1 frame
    6. akka.stream.impl
      ActorGraphInterpreter.aroundPostStop
      1. akka.stream.impl.fusing.ActorGraphInterpreter.aroundPostStop(ActorGraphInterpreter.scala:529)
      1 frame
    7. Akka Actor
      Mailbox.exec
      1. akka.actor.dungeon.FaultHandling$class.akka$actor$dungeon$FaultHandling$$finishTerminate(FaultHandling.scala:210)
      2. akka.actor.dungeon.FaultHandling$class.terminate(FaultHandling.scala:172)
      3. akka.actor.ActorCell.terminate(ActorCell.scala:374)
      4. akka.actor.ActorCell.invokeAll$1(ActorCell.scala:467)
      5. akka.actor.ActorCell.systemInvoke(ActorCell.scala:483)
      6. akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)
      7. akka.dispatch.Mailbox.processMailbox(Mailbox.scala:260)
      8. akka.dispatch.Mailbox.run(Mailbox.scala:224)
      9. akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      9 frames
    8. Scala
      ForkJoinWorkerThread.run
      1. scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      2. scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      3. scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      4. scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      4 frames