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

via JIRA by Michal B., 2 years ago
It is illegal to throw exceptions from request(), rule 3.16
via JIRA by Michal B., 1 year ago
It is illegal to throw exceptions from request(), rule 3.16
via Stack Overflow by 4lex1v
, 2 years ago
It is illegal to throw exceptions from request(), rule 3.16
via GitHub by nadavsamet
, 1 year ago
It is illegal to throw exceptions from request(), rule 3.16
via GitHub by btlines
, 4 months ago
It is illegal to throw exceptions from request(), rule 3.16
java.lang.IllegalStateException: state should be: open	at com.mongodb.assertions.Assertions.isTrue(Assertions.java:70)	at com.mongodb.operation.AsyncQueryBatchCursor.setBatchSize(AsyncQueryBatchCursor.java:104)	at com.mongodb.async.client.MappingAsyncBatchCursor.setBatchSize(MappingAsyncBatchCursor.java:62)	at com.mongodb.async.client.MongoIterableSubscription.requestMoreData(MongoIterableSubscription.java:86)	at com.mongodb.async.client.AbstractSubscription.processResultsQueue(AbstractSubscription.java:197)	at com.mongodb.async.client.AbstractSubscription.request(AbstractSubscription.java:84)	at com.mongodb.reactivestreams.client.ObservableToPublisher$1$1.request(ObservableToPublisher.java:48)	at akka.stream.impl.ReactiveStreamsCompliance$.tryRequest(ReactiveStreamsCompliance.scala:110)	at akka.stream.impl.fusing.BatchingActorInputBoundary.akka$stream$impl$fusing$BatchingActorInputBoundary$$dequeue(ActorInterpreter.scala:55)	at akka.stream.impl.fusing.BatchingActorInputBoundary$$anonfun$upstreamRunning$1.applyOrElse(ActorInterpreter.scala:157)	at scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)	at akka.stream.impl.SubReceive.apply(Transfer.scala:16)	at akka.stream.impl.SubReceive.apply(Transfer.scala:12)	at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)	at akka.stream.impl.SubReceive.applyOrElse(Transfer.scala:12)	at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:170)	at akka.actor.Actor$class.aroundReceive(Actor.scala:467)	at akka.stream.impl.fusing.ActorInterpreter.aroundReceive(ActorInterpreter.scala:366)	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)	at akka.actor.ActorCell.invoke(ActorCell.scala:487)	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)	at akka.dispatch.Mailbox.run(Mailbox.scala:220)	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)