java.lang.RuntimeException: Unable to start activity ComponentInfo{com.utagoe.momentdiary/com.utagoe.momentdiary.MomentDiaryVanilla}: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

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

,
Expert tip

If your row exceed the limit of 2mb of SQLite you're gonna receive this exception, consider using your database just for filepaths and then store your files in a filesystem.

,
Expert tip

This is caused by issue #73 in couchbase-lite-java-core, and it seems to have been fixed.

Solutions on the web

via Stack Overflow by figfofu
, 1 year ago
Unable to start activity ComponentInfo{com.utagoe.momentdiary/com.utagoe.momentdiary.MomentDiaryVanilla}: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by Keshav1234
, 2 years ago
Unable to start activity ComponentInfo{com.ms.t.tms/com.ms.t.tms.DetailView}: java.lang.IllegalStateException: Couldn't read row 0, col 1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by Narayan Periwal
, 2 years ago
Unable to start activity ComponentInfo{com.example.oozie.phonebilloptimizer/com.example.oozie.phonebilloptimizer.CallLogActivity}: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via GitHub by blFeedbackBot
, 2 years ago
Unable to start activity ComponentInfo{us.shandian.blacklight/info.papdt.blacklight.ui.statuses.UserTimeLineActivity}: java.lang.IllegalStateException: Couldn't read row 0, col 1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via GitHub by blFeedbackBot
, 2 years ago
Unable to start activity ComponentInfo{us.shandian.blacklight/us.shandian.blacklight.ui.statuses.UserTimeLineActivity}: java.lang.IllegalStateException: Couldn't read row 0, col 1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by Arjun Bajpai
, 2 years ago
Unable to start activity ComponentInfo{com.carsaleindiaofficial.csitestapp/com.carsaleindiaofficial.csitestapp.BookmarkPage}: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
at android.database.CursorWindow.nativeGetLong(Native Method)
at android.database.CursorWindow.getLong(CursorWindow.java:511)
at android.database.CursorWindow.getInt(CursorWindow.java:578)
at android.database.AbstractWindowedCursor.getInt(AbstractWindowedCursor.java:69)

Users with the same issue

11 times, 1 year ago
61 times, 1 year ago
9 times, 1 year ago
Once, 1 year ago
Once, 1 year ago

Write tip

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