java.lang.RuntimeException: com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017

JIRA | Etienne Morency-Bachand [X] | 3 years 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

    I got the error: java.lang.RuntimeException: com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017 at org.obiba.opal.core.service.DataExportServiceImpl.exportTablesToDatasource(DataExportServiceImpl.java:84) at org.obiba.opal.shell.commands.CopyCommand.execute(CopyCommand.java:94) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:130) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017 at com.mongodb.DBApiLayer$Result.init(DBApiLayer.java:363) at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:429) at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:396) at com.mongodb.DBCursor._hasNext(DBCursor.java:464) at com.mongodb.DBCursor.hasNext(DBCursor.java:484) at org.obiba.magma.datasource.mongodb.MongoDBVariableEntityProvider.getVariableEntities(MongoDBVariableEntityProvider.java:51) at org.obiba.magma.support.AbstractValueTable.hasValueSet(AbstractValueTable.java:82) at org.obiba.magma.support.AbstractValueTableWrapper.hasValueSet(AbstractValueTableWrapper.java:87) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetReader.copyEntity(MultithreadedDatasourceCopier.java:257) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetReader.run(MultithreadedDatasourceCopier.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.obiba.opal.core.tx.TransactionalThread$1.doInTransactionWithoutResult(TransactionalThread.java:34) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.obiba.opal.core.tx.TransactionalThread.run(TransactionalThread.java:31) ^COpal Server shutting down...

    JIRA | 3 years ago | Etienne Morency-Bachand [X]
    java.lang.RuntimeException: com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017
  2. 0

    I got the error: java.lang.RuntimeException: com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017 at org.obiba.opal.core.service.DataExportServiceImpl.exportTablesToDatasource(DataExportServiceImpl.java:84) at org.obiba.opal.shell.commands.CopyCommand.execute(CopyCommand.java:94) at org.obiba.opal.shell.CommandJob.run(CommandJob.java:130) at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017 at com.mongodb.DBApiLayer$Result.init(DBApiLayer.java:363) at com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:429) at com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:396) at com.mongodb.DBCursor._hasNext(DBCursor.java:464) at com.mongodb.DBCursor.hasNext(DBCursor.java:484) at org.obiba.magma.datasource.mongodb.MongoDBVariableEntityProvider.getVariableEntities(MongoDBVariableEntityProvider.java:51) at org.obiba.magma.support.AbstractValueTable.hasValueSet(AbstractValueTable.java:82) at org.obiba.magma.support.AbstractValueTableWrapper.hasValueSet(AbstractValueTableWrapper.java:87) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetReader.copyEntity(MultithreadedDatasourceCopier.java:257) at org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetReader.run(MultithreadedDatasourceCopier.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.obiba.opal.core.tx.TransactionalThread$1.doInTransactionWithoutResult(TransactionalThread.java:34) at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131) at org.obiba.opal.core.tx.TransactionalThread.run(TransactionalThread.java:31) ^COpal Server shutting down...

    JIRA | 3 years ago | Etienne Morency-Bachand [X]
    java.lang.RuntimeException: com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017
  3. 0

    Not fetching data from Mongo DB

    GitHub | 3 years ago | hiteshvanjani
    com.mongodb.MongoException$CursorNotFound: cursor 7430749966549964 not found on server /127.0.0.1:27017
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    River not connect to replica secondary instace after master is disconnected.

    GitHub | 3 years ago | nai0om
    com.mongodb.MongoException$CursorNotFound: cursor 387727812883675452 not found on server mongo1/xxx.xxx.xxx.xxx:60002
  6. 0

    River crashes upon loosing mongodb connection

    GitHub | 3 years ago | ltworf
    com.mongodb.MongoException$CursorNotFound: cursor 7766048665814738629 not found on server build/127.0.0.1:27017

    2 unregistered visitors
    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.MongoException$CursorNotFound

      cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017

      at com.mongodb.DBApiLayer$Result.init()
    2. MongoDB Java Driver
      DBCursor.hasNext
      1. com.mongodb.DBApiLayer$Result.init(DBApiLayer.java:363)
      2. com.mongodb.DBApiLayer$Result._advance(DBApiLayer.java:429)
      3. com.mongodb.DBApiLayer$Result.hasNext(DBApiLayer.java:396)
      4. com.mongodb.DBCursor._hasNext(DBCursor.java:464)
      5. com.mongodb.DBCursor.hasNext(DBCursor.java:484)
      5 frames
    3. org.obiba.magma
      MultithreadedDatasourceCopier$ConcurrentValueSetReader.run
      1. org.obiba.magma.datasource.mongodb.MongoDBVariableEntityProvider.getVariableEntities(MongoDBVariableEntityProvider.java:51)
      2. org.obiba.magma.support.AbstractValueTable.hasValueSet(AbstractValueTable.java:82)
      3. org.obiba.magma.support.AbstractValueTableWrapper.hasValueSet(AbstractValueTableWrapper.java:87)
      4. org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetReader.copyEntity(MultithreadedDatasourceCopier.java:257)
      5. org.obiba.magma.support.MultithreadedDatasourceCopier$ConcurrentValueSetReader.run(MultithreadedDatasourceCopier.java:250)
      5 frames
    4. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4 frames
    5. org.obiba.opal
      TransactionalThread$1.doInTransactionWithoutResult
      1. org.obiba.opal.core.tx.TransactionalThread$1.doInTransactionWithoutResult(TransactionalThread.java:34)
      1 frame
    6. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:33)
      2. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
      2 frames
    7. org.obiba.opal
      TransactionalThread.run
      1. org.obiba.opal.core.tx.TransactionalThread.run(TransactionalThread.java:31)
      1 frame