com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 20505299843 not found on server on server

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    MongoCursorNotFoundException : Query failed with error code -5

    Stack Overflow | 6 days ago | Mithun Khatri
    com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 20505299843 not found on server on server
  2. 0

    Want to iterate through half of mongoDB and iterate through the rest of the half with another query

    Stack Overflow | 11 months ago | Nav
    com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 304054517192 not found on server mongodb2:27017' on server mongodb2:27017
  3. 0

    Query failed with error code -5

    Google Groups | 3 months ago | Jaipal Reddy
    com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 43249415092 not found on server xx.xx.xx.xx:27017'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    mongoDB: cursor notimeout setting isn't working in java client

    Stack Overflow | 2 years ago | talmosko
    com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 1876954464377 not found on server XXXXXX:27017' on server XXXXXXXX:27017
  6. 0

    MongoCursorNotFoundException -Query failed with error code -5

    Stack Overflow | 3 months ago | Jaipal
    com.mongodb.MongoCursorNotFoundException: Query failed with error code -5 and error message 'Cursor 43249415092 not found on server xx.xx.xx.xx:27017'

    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. 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()
    2. MongoDB Java Driver
      MongoBatchCursorAdapter.tryNext
      1. com.mongodb.operation.QueryHelper.translateCommandException(QueryHelper.java:27)
      2. com.mongodb.operation.QueryBatchCursor.getMore(QueryBatchCursor.java:215)
      3. com.mongodb.operation.QueryBatchCursor.tryHasNext(QueryBatchCursor.java:180)
      4. com.mongodb.operation.QueryBatchCursor.tryNext(QueryBatchCursor.java:164)
      5. com.mongodb.MongoBatchCursorAdapter.tryNext(MongoBatchCursorAdapter.java:66)
      5 frames
    3. com.apple.ist
      Drain.run
      1. com.apple.ist.appeng.sync.extractor.mongodb.input.Drain.tailOplog(Drain.java:142)
      2. com.apple.ist.appeng.sync.extractor.mongodb.input.Drain.run(Drain.java:120)
      2 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames