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;%' ) )

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by gandulf
, 1 year ago
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;%' ) )
via GitHub by mzorz
, 1 year ago
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
via GitHub by gandulf
, 1 year ago
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;%' ) )
via Stack Overflow by Radoslav Yordanov
, 2 years ago
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
via Stack Overflow by user2246120
, 2 years ago
attempt to re-open an already-closed object: SQLiteQuery: SELECT _id, Title, Date, Address, Radius, Repetition FROM reminder
via Stack Overflow by Andrew Wyld
, 2 years ago
attempt to re-open an already-closed object: android.database.sqlite.SQLiteQuery (mSql = SELECT * FROM privileges WHERE uuid!=?)
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(SQLiteClosable.java:55)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:58)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:152)
at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:124)
at android.widget.AdapterView.rememberSyncState(AdapterView.java:1426)
at android.widget.AdapterView$AdapterDataSetObserver.onChanged(AdapterView.java:1039)
at android.widget.AbsListView$AdapterDataSetObserver.onChanged(AbsListView.java:8229)
at android.database.DataSetObservable.notifyChanged(DataSetObservable.java:37)
at android.support.v4.widget.CursorAdapter.swapCursor(CursorAdapter.java:347)
at android.support.v4.widget.CursorAdapter.changeCursor(CursorAdapter.java:315)
at android.widget.Filter$ResultsHandler.handleMessage(Filter.java:282)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6134)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
13 times, 8 months ago
37 times, 9 months ago
4 times, 11 months ago

Write tip

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