com.mongodb.MongoCursorNotFoundException

Query failed with error code -5 and error message 'Cursor 20505299843 not found on server on server

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web2

Stack trace

  • com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 20505299843 not found on server on server at com.mongodb.operation.QueryHelper.translateCommandException(QueryHelper.java:27) at com.mongodb.operation.QueryBatchCursor.getMore(QueryBatchCursor.java:215) at com.mongodb.operation.QueryBatchCursor.tryHasNext(QueryBatchCursor.java:180) at com.mongodb.operation.QueryBatchCursor.tryNext(QueryBatchCursor.java:164) at com.mongodb.MongoBatchCursorAdapter.tryNext(MongoBatchCursorAdapter.java:66) at com.apple.ist.appeng.sync.extractor.mongodb.input.Drain.tailOplog(Drain.java:142) at com.apple.ist.appeng.sync.extractor.mongodb.input.Drain.run(Drain.java:120) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

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

Alireza MohamadiAlireza Mohamadi
Once,