com.couchbase.cbforest.ForestException: Forestdb Handle is being used by another thread

GitHub | mtrakal | 8 months 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

    NPE and RemoteRequestCompletionBlock in 1.3.0-12

    GitHub | 8 months ago | mtrakal
    com.couchbase.cbforest.ForestException: Forestdb Handle is being used by another thread
  2. 0

    GitHub comment 933#230847003

    GitHub | 8 months ago | hideki
    com.couchbase.cbforest.ForestException: Forestdb Handle is being used by another thread

    Root Cause Analysis

    1. com.couchbase.cbforest.ForestException

      Forestdb Handle is being used by another thread

      at com.couchbase.cbforest.Document.save()
    2. com.couchbase.cbforest
      Document.save
      1. com.couchbase.cbforest.Document.save(Native Method)
      2. com.couchbase.cbforest.Document.save(Document.java:87)
      2 frames
    3. com.couchbase.lite
      Document.update
      1. com.couchbase.lite.store.ForestDBStore.saveForest(ForestDBStore.java:1270)
      2. com.couchbase.lite.store.ForestDBStore.add(ForestDBStore.java:912)
      3. com.couchbase.lite.Database.put(Database.java:1840)
      4. com.couchbase.lite.Database.putRevision(Database.java:1790)
      5. com.couchbase.lite.Database.putRevision(Database.java:1781)
      6. com.couchbase.lite.Document.putProperties(Document.java:523)
      7. com.couchbase.lite.UnsavedRevision.save(UnsavedRevision.java:118)
      8. com.couchbase.lite.Document.update(Document.java:379)
      8 frames
    4. com.yablohn.internal
      YablohnBaseDao.createOrUpdateDocument
      1. com.yablohn.internal.YablohnBaseDao.createOrUpdateDocument(YablohnBaseDao.java:134)
      2. com.yablohn.internal.YablohnBaseDao.createOrUpdateDocument(YablohnBaseDao.java:115)
      2 frames
    5. com.myapp.v3
      RecordsModifyTask$1.run
      1. com.myapp.v3.db.BaseCustomDao.createOrUpdateDocument(BaseCustomDao.java:36)
      2. com.myapp.v3.misc.RecordsModifyTask$1.run(RecordsModifyTask.java:94)
      2 frames
    6. com.couchbase.lite
      Database.runInTransaction
      1. com.couchbase.lite.store.ForestDBStore.runInTransaction(ForestDBStore.java:297)
      2. com.couchbase.lite.Database.runInTransaction(Database.java:565)
      2 frames
    7. com.myapp.v3
      RecordsModifyTask.doInBackground
      1. com.myapp.v3.misc.RecordsModifyTask.doInBackground(RecordsModifyTask.java:45)
      2. com.myapp.v3.misc.RecordsModifyTask.doInBackground(RecordsModifyTask.java:22)
      2 frames
    8. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:287)
      1 frame
    9. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:137)
      2 frames
    10. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
      1 frame
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
      3. java.lang.Thread.run(Thread.java:856)
      3 frames