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

Stack Overflow | Mithun Khatri | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MongoCursorNotFoundException : Query failed with error code -5

    Stack Overflow | 1 month 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 | 1 year 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 | 4 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 | 4 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