java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT m.id AS id,uid,internal_date,subject,date,sender_list,to_list,cc_list,read,flagged,answered,forwarded,attachment_count,folder_id,preview,root,name FROM threads t JOIN messages m ON (m.id = t.message_id) LEFT JOIN folders f ON (m.folder_id = f.id) WHERE root = ? AND deleted = 0 AND (empty IS NULL OR empty != 1) ORDER BY read ASC, date DESC, m.id DESC

GitHub | ervee | 5 months ago
  1. 0

    Crash when deleting all messages in threaded view

    GitHub | 5 months ago | ervee
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT m.id AS id,uid,internal_date,subject,date,sender_list,to_list,cc_list,read,flagged,answered,forwarded,attachment_count,folder_id,preview,root,name FROM threads t JOIN messages m ON (m.id = t.message_id) LEFT JOIN folders f ON (m.folder_id = f.id) WHERE root = ? AND deleted = 0 AND (empty IS NULL OR empty != 1) ORDER BY read ASC, date DESC, m.id DESC
  2. 0

    GitHub comment 814#181824078

    GitHub | 10 months ago | gunterkoenigsmann
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT m.id AS id,uid,internal_date,subject,date,sender_list,to_list,cc_list,read,flagged,answered,forwarded,attachment_count,folder_id,preview,root,name FROM threads t JOIN messages m ON (m.id = t.message_id) LEFT JOIN folders f ON (m.folder_id = f.id) WHERE root = ? AND deleted = 0 AND (empty IS NULL OR empty != 1) ORDER BY read ASC, date DESC, m.id DESC
  3. 0

    Crash when visiting Notifications after receiving a PN

    GitHub | 2 years ago | maxme
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT DISTINCT objects.rowid AS `_id`, objects.bucket || objects.key AS `key`, objects.key as `object_key`, objects.data as `object_data` FROM `objects` LEFT JOIN indexes AS i0 ON objects.bucket = i0.bucket AND objects.key = i0.key AND i0.name=? WHERE objects.bucket = ? ORDER BY i0.value DESC
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash report 3.0-beta-2: can't reply to comment notifications

    GitHub | 2 years ago | maxme
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT DISTINCT objects.rowid AS `_id`, objects.bucket || objects.key AS `key`, objects.key as `object_key`, objects.data as `object_data` FROM `objects` LEFT JOIN indexes AS i0 ON objects.bucket = i0.bucket AND objects.key = i0.key AND i0.name=? WHERE objects.bucket = ? ORDER BY i0.value DESC
  6. 0

    attempt to re-open an already-closed object when using loaders

    Stack Overflow | 2 years ago | Avsector
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT _id title description total_bytes current_bytes status lastmod _data FROM downloads WHERE (is_visible_in_downloads_ui != '0' AND deleted != '1') ORDER BY lastmod DESC LIMIT 50

    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: SQLiteQuery: SELECT m.id AS id,uid,internal_date,subject,date,sender_list,to_list,cc_list,read,flagged,answered,forwarded,attachment_count,folder_id,preview,root,name FROM threads t JOIN messages m ON (m.id = t.message_id) LEFT JOIN folders f ON (m.folder_id = f.id) WHERE root = ? AND deleted = 0 AND (empty IS NULL OR empty != 1) ORDER BY read ASC, date DESC, m.id DESC

      at android.database.sqlite.SQLiteClosable.acquireReference()
    2. Android Platform
      CursorWrapper.moveToPosition
      1. android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55)
      2. android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:58)
      3. android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:151)
      4. android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:123)
      5. android.database.AbstractCursor.moveToPosition(AbstractCursor.java:236)
      6. android.database.CursorWrapper.moveToPosition(CursorWrapper.java:197)
      7. android.database.CursorWrapper.moveToPosition(CursorWrapper.java:197)
      8. android.database.CursorWrapper.moveToPosition(CursorWrapper.java:197)
      8 frames
    3. com.fsck.k9
      EmailProviderCacheCursor.moveToPosition
      1. com.fsck.k9.cache.EmailProviderCacheCursor.moveToPosition(EmailProviderCacheCursor.java:112)
      1 frame
    4. Android Platform
      ViewGroup.layout
      1. android.database.CursorWrapper.moveToPosition(CursorWrapper.java:197)
      2. android.widget.CursorAdapter.getItemId(CursorAdapter.java:258)
      3. android.widget.HeaderViewListAdapter.getItemId(HeaderViewListAdapter.java:194)
      4. android.widget.AbsListView$RecycleBin.retrieveFromScrap(AbsListView.java:6868)
      5. android.widget.AbsListView$RecycleBin.getScrapView(AbsListView.java:6598)
      6. android.widget.AbsListView.obtainView(AbsListView.java:2345)
      7. android.widget.ListView.makeAndAddView(ListView.java:1876)
      8. android.widget.ListView.fillDown(ListView.java:702)
      9. android.widget.ListView.fillSpecific(ListView.java:1367)
      10. android.widget.ListView.layoutChildren(ListView.java:1663)
      11. android.widget.AbsListView.onLayout(AbsListView.java:2148)
      12. android.view.View.layout(View.java:16722)
      13. android.view.ViewGroup.layout(ViewGroup.java:5438)
      14. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      15. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      16. android.view.View.layout(View.java:16722)
      17. android.view.ViewGroup.layout(ViewGroup.java:5438)
      18. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      19. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      20. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      21. android.view.View.layout(View.java:16722)
      22. android.view.ViewGroup.layout(ViewGroup.java:5438)
      23. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      24. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      25. android.view.View.layout(View.java:16722)
      26. android.view.ViewGroup.layout(ViewGroup.java:5438)
      27. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      28. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      29. android.view.View.layout(View.java:16722)
      30. android.view.ViewGroup.layout(ViewGroup.java:5438)
      31. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      32. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      33. android.view.View.layout(View.java:16722)
      34. android.view.ViewGroup.layout(ViewGroup.java:5438)
      34 frames
    5. Android
      ActionBarOverlayLayout.onLayout
      1. com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:493)
      1 frame
    6. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16722)
      2. android.view.ViewGroup.layout(ViewGroup.java:5438)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      4 frames
    7. Android
      PhoneWindow$DecorView.onLayout
      1. com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2685)
      1 frame
    8. Android Platform
      ViewRootImpl.doTraversal
      1. android.view.View.layout(View.java:16722)
      2. android.view.ViewGroup.layout(ViewGroup.java:5438)
      3. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2175)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1935)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1111)
      5 frames