Skip to content

java.lang.IllegalStateException: Cursor is closed: DisplayListAdapter.moveCursor #37

@devonjones

Description

@devonjones

java.lang.IllegalStateException: attempt to re-open an already-closed object: android.database.sqlite.SQLiteQuery (mSql = SELECT s.section_id, s.name, s.description, sd.school, sd.subschool, sl_filter.level FROM sections s INNER JOIN spell_details sd ON s.section_id = sd.section_id INNER JOIN spell_lists sl_filter ON s.section_id = sl_filter.section_id AND sl_filter.class = ? WHERE s.type = 'spell' ORDER BY sl_filter.level, s.name)

java.lang.IllegalStateException: attempt to re-open an already-closed object: android.database.sqlite.SQLiteQuery (mSql = SELECT s.section_id, s.name, s.description, (SELECT p.description FROM sections p WHERE p.parent_id = s.section_id AND p.name = 'Prerequisites' LIMIT 1) as preqs, (SELECT ftd.feat_type_description FROM feat_type_descriptions ftd WHERE ftd.section_id = s.section_id LIMIT 1) as feat_types FROM sections s INNER JOIN feat_types ft_filter ON s.section_id = ft_filter.section_id AND ft_filter.feat_type = ? WHERE s.type = 'feat' ORDER BY s.name)
at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:34)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:67)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:303)
at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:275)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:188)
at org.evilsoft.pathfinder.reference.DisplayListAdapter.moveCursor(DisplayListAdapter.java:35)
at org.evilsoft.pathfinder.reference.list.FeatListAdapter.getView(FeatListAdapter.java:27)
at android.widget.AbsListView.obtainView(AbsListView.java:1428)
at android.widget.ListView.makeAndAddView(ListView.java:1793)
at android.widget.ListView.fillDown(ListView.java:670)
at android.widget.ListView.fillGap(ListView.java:641)
at android.widget.AbsListView.trackMotionScroll(AbsListView.java:3452)
at android.widget.AbsListView$FlingRunnable.run(AbsListView.java:2950)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:4293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
at dalvik.system.NativeStart.main(Native Method)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions