java.lang.IllegalArgumentException: Number requested cannot be negative: 0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.IllegalArgumentException: Number requested cannot be negative: 0
at com.mongodb.async.client.AbstractSubscription.request(AbstractSubscription.java:65)
at com.mongodb.rx.client.RxObservables$ObservableToProducer.request(RxObservables.java:92)
at rx.Subscriber.setProducer(Subscriber.java:211)
at com.mongodb.rx.client.RxObservables$ObservableToProducer.(RxObservables.java:85)
at com.mongodb.rx.client.RxObservables$1.call(RxObservables.java:33)
at com.mongodb.rx.client.RxObservables$1.call(RxObservables.java:30)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:50)
at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.