java.lang.IllegalStateException

Promise already completed.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5647

  • Promise already completed.
  • Promise already completed.
  • Promise already completed.
  • Stack trace

    • java.lang.IllegalStateException: Promise already completed. at scala.concurrent.Promise$class.complete(Promise.scala:55) at scala.concurrent.impl.Promise$DefaultPromise.complete(Promise.scala:153) at scala.concurrent.Promise$class.success(Promise.scala:86) at scala.concurrent.impl.Promise$DefaultPromise.success(Promise.scala:153) at org.mongodb.scala.ObservableImplicits$ScalaObservable$$anonfun$toFuture$1.apply(ObservableImplicits.scala:332) at org.mongodb.scala.ObservableImplicits$ScalaObservable$$anonfun$toFuture$1.apply(ObservableImplicits.scala:332) at org.mongodb.scala.ObservableImplicits$ScalaObservable$$anon$1.onNext(ObservableImplicits.scala:88) at org.mongodb.scala.internal.MapObservable$$anon$1.onNext(MapObservable.scala:32) at org.mongodb.scala.internal.FoldLeftObservable$$anon$1.onComplete(FoldLeftObservable.scala:35) at org.mongodb.scala.internal.FlatMapObservable$$anon$1.onComplete(FlatMapObservable.scala:71) at org.mongodb.scala.internal.IterableObservable$$anon$1.request(IterableObservable.scala:46) at org.mongodb.scala.internal.FlatMapObservable$$anon$1$$anon$2.request(FlatMapObservable.scala:54) at org.mongodb.scala.ObservableImplicits$ScalaObservable$$anon$1.onSubscribe(ObservableImplicits.scala:86) at org.mongodb.scala.internal.MapObservable$$anon$1.onSubscribe(MapObservable.scala:28) at org.mongodb.scala.internal.FoldLeftObservable$$anon$1.onSubscribe(FoldLeftObservable.scala:32) at org.mongodb.scala.internal.FlatMapObservable$$anon$1.onSubscribe(FlatMapObservable.scala:66)

    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

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    4 times, 6 months ago
    Unknown user
    Once, 11 months ago
    Once, 1 year ago