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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mtrakal
, 1 year ago
Forestdb Handle is being used by another thread
via GitHub by hideki
, 1 year ago
Forestdb Handle is being used by another thread
via GitHub by hideki
, 7 months ago
Forestdb Handle is being used by another thread
via GitHub by hideki
, 7 months ago
Forestdb Handle is being used by another thread
via GitHub by NitzDKoder
, 1 year ago
Forestdb Handle is being used by another thread
via GitHub by mtrakal
, 1 year ago
Forestdb Handle is being used by another thread
com.couchbase.cbforest.ForestException: Forestdb Handle is being used by another thread
at com.couchbase.cbforest.Document.init(Native Method)
at com.couchbase.cbforest.Document.(Document.java:97)
at com.couchbase.cbforest.Database.getDocument(Database.java:46)
at com.couchbase.lite.store.ForestDBStore.add(ForestDBStore.java:828)
at com.couchbase.lite.Database.put(Database.java:1840)
at com.couchbase.lite.Database.putRevision(Database.java:1790)
at com.couchbase.lite.Database.putRevision(Database.java:1781)
at com.couchbase.lite.Document.putProperties(Document.java:523)
at com.couchbase.lite.UnsavedRevision.save(UnsavedRevision.java:118)
at com.couchbase.lite.Document.update(Document.java:379)
at com.yablohn.internal.YablohnBaseDao.createOrUpdateDocument(YablohnBaseDao.java:134)
at com.yablohn.internal.YablohnBaseDao.createOrUpdateDocument(YablohnBaseDao.java:115)
at com.myapp.v3.db.BaseCustomDao.createOrUpdateDocument(BaseCustomDao.java:36)
at com.myapp.v3.misc.RecordsModifyTask$1.run(RecordsModifyTask.java:94)
at com.couchbase.lite.store.ForestDBStore.runInTransaction(ForestDBStore.java:297)
at com.couchbase.lite.Database.runInTransaction(Database.java:565)
at com.myapp.v3.misc.RecordsModifyTask.doInBackground(RecordsModifyTask.java:45)
at com.myapp.v3.misc.RecordsModifyTask.doInBackground(RecordsModifyTask.java:22)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.