java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/user/0/de.danoeh.antennapod/databases/Antennapod.db

GitHub | mfietz | 3 months ago
  1. 0

    GitHub comment 1945#247429575

    GitHub | 3 months ago | mfietz
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/user/0/de.danoeh.antennapod/databases/Antennapod.db
  2. 0

    GitHub comment 29#233653675

    GitHub | 5 months ago | DreierF
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  3. 0

    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase

    GitHub | 3 years ago | PankaJJakhar
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.couchbase.grocerysync/files/sync_gateway.cblite
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cursor: Invalid Statement in fillWindow() when calling forceLoad() on CursorLoader using SqliteCursorLoader

    Stack Overflow | 4 years ago | Kristy Welsh
    java.lang.IllegalStateException: attempt to acquire a reference on a close SQLiteClosable 05-07 14:24:30.057: E/AndroidRuntime(17284): at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:31) 05-07 14:24:30.057: E/AndroidRuntime(17284): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:56) at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)
  6. 0

    Android SQLite same cursor for multiple tables:

    Stack Overflow | 4 years ago | H P
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.songs/com.songs.MainActivity2}: java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.songs/databases/songS

  1. bayukresno 3 times, last 7 months ago
1 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. java.lang.IllegalStateException

    attempt to re-open an already-closed object: SQLiteDatabase: /data/user/0/de.danoeh.antennapod/databases/Antennapod.db

    at android.database.sqlite.SQLiteClosable.acquireReference()
  2. Android Platform
    SQLiteDatabase.rawQuery
    1. android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55)
    2. android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1450)
    3. android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1393)
    3 frames
  3. de.danoeh.antennapod
    PodDBAdapter.getFeedItemCursor
    1. de.danoeh.antennapod.core.storage.PodDBAdapter.getFeedItemCursor(PodDBAdapter.java:1392)
    1 frame
  4. android.support.design
    R.getFeedItem
    1. android.support.design.R.getFeedItem(R.java:38658)
    1 frame
  5. de.danoeh.antennapod
    GpodnetSyncService$WaiterThread$1.run
    1. de.danoeh.antennapod.core.service.GpodnetSyncService.processEpisodeActions(GpodnetSyncService.java:280)
    2. de.danoeh.antennapod.core.service.GpodnetSyncService.syncEpisodeActions(GpodnetSyncService.java:207)
    3. de.danoeh.antennapod.core.service.GpodnetSyncService.sync(GpodnetSyncService.java:123)
    4. de.danoeh.antennapod.core.service.GpodnetSyncService.access$100(GpodnetSyncService.java:44)
    5. de.danoeh.antennapod.core.service.GpodnetSyncService$1.onWaitCompleted(GpodnetSyncService.java:331)
    6. de.danoeh.antennapod.core.service.GpodnetSyncService$WaiterThread$1.run(GpodnetSyncService.java:367)
    6 frames