java.lang.RuntimeException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web21176

  • via JIRA by Etienne Morency-Bachand [X], 1 year ago
    com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017
  • via JIRA by Etienne Morency-Bachand [X], 1 year ago
    com.mongodb.MongoException$CursorNotFound: cursor 1549404496577033811 not found on server localhost/127.0.0.1:27017
  • via JIRA by Etienne Morency-Bachand [X], 1 year ago
    com.mongodb.MongoException$Network: Read operation to server localhost/127.0.0.1:27017 failed on database data
  • Stack trace

    • 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)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago