java.lang.IllegalStateException

attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.app/files/user.cblite2/db.sqlite3


Solutions on the web19969

Solution icon of github
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.app/files/user.cblite2/db.sqlite3

Solution icon of github
via GitHub by WasimMemon
, 1 month ago
attempt to re-open an already-closed object: SQLiteDatabase: /data/user/0/com.app/databases/appdb.db

Solution icon of googlegroups
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.couchbase.grocerysync/files/sync_gateway.cblite

Solution icon of web
via mozilla.com by Unknown author, 7 months ago
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/org.mozilla.firefox/files/mozilla/zir7d4de.default/browser.db

Solution icon of github
via GitHub by tleyden
, 1 year ago
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.couchbase.cblite.test/files/test/cblite-test.cblite

Solution icon of github
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.couchbase.grocerysync/files/sync_gateway.cblite

Solution icon of github
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.couchbase.lite.test/files/test/cblite-test.cblite

Solution icon of web
via mozilla.com by Unknown author, 9 months ago
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/org.mozilla.firefox/files/mozilla/wufibud9.default/browser.db

Solution icon of github
via GitHub by DreierF
, 9 months ago
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/de.dreier.mytargets/databases/database

Solution icon of github
attempt to re-open an already-closed object: SQLiteDatabase: /data/data/ua.pp.dimoshka.jwp/databases/jwp.sqlite3

Stack trace

  • java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.app/files/user.cblite2/db.sqlite3 at com.couchbase.lite.internal.database.sqlite.SQLiteClosable.acquireReference(SourceFile:60) at com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.beginTransaction(SourceFile:497) at com.couchbase.lite.internal.database.sqlite.SQLiteDatabase.beginTransaction(SourceFile:410) at com.couchbase.lite.storage.SQLiteStorageEngineBase.beginTransaction(SourceFile:150) at com.couchbase.lite.store.SQLiteStore.beginTransaction(SourceFile:2309) at com.couchbase.lite.store.SQLiteStore.add(SourceFile:1412) at com.couchbase.lite.Database.put(SourceFile:1844) at com.couchbase.lite.Database.putRevision(SourceFile:1794) at com.couchbase.lite.Database.putRevision(SourceFile:1785) at com.couchbase.lite.Document.putProperties(SourceFile:523) at com.couchbase.lite.Document.putProperties(SourceFile:350) at com.app.DevUtilities.Cache.Cache.store(SourceFile:76) at com.app.DevUtilities.Cache.CacheObject.apply(SourceFile:46) at com.app.Models.Account.Account.save(SourceFile:155) at com.app.Models.Account.Account.setOrUpdateAccount(SourceFile:191) at com.app.Models.Account.Account.loadApiAccountIntoDb(SourceFile:301) at com.app.Fragments.ActivityStream.Controller.ActivityStreamController$ActivityTask.doInBackground(SourceFile:244) at com.app.Fragments.ActivityStream.Controller.ActivityStreamController$ActivityTask.doInBackground(SourceFile:215) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)

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

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