java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM `item` WHERE (`name` LIKE '%schwer%' AND (`itemTypes` LIKE '%;Waffen;%' OR `itemTypes` LIKE '%;Sonstiges;%' OR `itemTypes` LIKE '%;Fernwaffen;%' OR `itemTypes` LIKE '%;Rüstung;%' OR `itemTypes` LIKE '%;Schilde;%' ) )

GitHub | gandulf | 7 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

    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM `item` WHERE (`name` LIKE '%schwer%' AND (`itemTypes` LIKE '%;Waffen;%' OR `itemTypes` LIKE '%;Sonstiges;%' OR `itemTypes` LIKE '%;Fernwaffen;%' OR `itemTypes` LIKE '%;Rüstung;%' OR `itemTypes` LIKE '%;Schilde;%' ) )

    GitHub | 7 months ago | gandulf
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM `item` WHERE (`name` LIKE '%schwer%' AND (`itemTypes` LIKE '%;Waffen;%' OR `itemTypes` LIKE '%;Sonstiges;%' OR `itemTypes` LIKE '%;Fernwaffen;%' OR `itemTypes` LIKE '%;Rüstung;%' OR `itemTypes` LIKE '%;Schilde;%' ) )
  2. 0

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

    Stack Overflow | 2 years ago | Radoslav Yordanov
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT _id as _id, title as suggest_text_1, subTitle as suggest_text_2, imgUrl as suggest_icon_1, searchID as suggest_intent_data_id FROM suggestions WHERE (title like ? ) ORDER BY title asc LIMIT 10
  3. 0

    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM `item` WHERE (`name` LIKE '%magi%' AND (`itemTypes` LIKE '%;Waffen;%' OR `itemTypes` LIKE '%;Rüstung;%' OR `itemTypes` LIKE '%;Schilde;%' OR `itemTypes` LIKE '%;Sonstiges;%' OR `itemTypes` LIKE '%;Fernwaffen;%' ) )

    GitHub | 1 year ago | gandulf
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM `item` WHERE (`name` LIKE '%magi%' AND (`itemTypes` LIKE '%;Waffen;%' OR `itemTypes` LIKE '%;Rüstung;%' OR `itemTypes` LIKE '%;Schilde;%' OR `itemTypes` LIKE '%;Sonstiges;%' OR `itemTypes` LIKE '%;Fernwaffen;%' ) )
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4096#220744080

    GitHub | 10 months ago | mzorz
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT * FROM tbl_search_suggestions WHERE query_string LIKE ? ORDER BY date_used DESC LIMIT 5
  6. 0

    IllegalStateException: database already closed (using ViewPager)

    Stack Overflow | 4 years ago | EverythingTech96
    java.lang.IllegalStateException: database /data/data/com.acedit.assignamo/databases/data.db (conn# 0) already closed

    2 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 * FROM `item` WHERE (`name` LIKE '%schwer%' AND (`itemTypes` LIKE '%;Waffen;%' OR `itemTypes` LIKE '%;Sonstiges;%' OR `itemTypes` LIKE '%;Fernwaffen;%' OR `itemTypes` LIKE '%;Rüstung;%' OR `itemTypes` LIKE '%;Schilde;%' ) )

      at android.database.sqlite.SQLiteClosable.acquireReference()
    2. Android Platform
      AbstractCursor.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:152)
      4. android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:124)
      5. android.database.AbstractCursor.moveToPosition(AbstractCursor.java:214)
      5 frames
    3. Android Support v4
      CursorAdapter.getItemId
      1. android.support.v4.widget.CursorAdapter.getItemId(CursorAdapter.java:225)
      1 frame
    4. Android Platform
      BaseAdapter.notifyDataSetChanged
      1. android.widget.AdapterView.rememberSyncState(AdapterView.java:1426)
      2. android.widget.AdapterView$AdapterDataSetObserver.onChanged(AdapterView.java:1039)
      3. android.widget.AbsListView$AdapterDataSetObserver.onChanged(AbsListView.java:8229)
      4. android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37)
      5. android.widget.BaseAdapter.notifyDataSetChanged(BaseAdapter.java:50)
      5 frames
    5. Android Support v4
      CursorFilter.publishResults
      1. android.support.v4.widget.CursorAdapter.swapCursor(CursorAdapter.java:347)
      2. android.support.v4.widget.CursorAdapter.changeCursor(CursorAdapter.java:315)
      3. android.support.v4.widget.CursorFilter.publishResults(CursorFilter.java:68)
      3 frames
    6. Android Platform
      ActivityThread.main
      1. android.widget.Filter$ResultsHandler.handleMessage(Filter.java:282)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:145)
      4. android.app.ActivityThread.main(ActivityThread.java:6134)
      4 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames