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

  1. ,
    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.

  2. ,
    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 blogspot.com by Unknown author, 1 year ago
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 klemzy
, 2 years ago
Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via GitHub by philipwhiuk
, 1 year ago
Couldn't read row 923, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via GitHub by cwmke
, 1 year ago
Couldn't read row 1643, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by Syarif Zapata
, 7 months ago
Couldn't read row 0, col 0 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.
via Stack Overflow by Anthony
, 1 year ago
Couldn't read row 1127, col 0 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:515)	at android.database.AbstractWindowedCursor.getLong(AbstractWindowedCursor.java:75)	at android.database.CursorWrapper.getLong(CursorWrapper.java:106)	at android.widget.CursorTreeAdapter$MyCursorHelper.getId(CursorTreeAdapter.java:436)	at android.widget.CursorTreeAdapter.getGroupId(CursorTreeAdapter.java:191)	at android.widget.ExpandableListConnector.getItemId(ExpandableListConnector.java:421)	at android.widget.AdapterView.getItemIdAtPosition(AdapterView.java:756)	at android.widget.AdapterView.setSelectedPositionInt(AdapterView.java:1128)	at android.widget.AbsListView.onTouchEvent(AbsListView.java:3147)	at android.view.View.dispatchTouchEvent(View.java:5541)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1951)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1712)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)	at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:1957)	at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1726)	at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1912)	at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1371)	at android.app.Activity.dispatchTouchEvent(Activity.java:2364)	at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1860)	at android.view.View.dispatchPointerEvent(View.java:5721)	at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:2890)	at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2466)	at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:845)	at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2475)	at android.os.Handler.dispatchMessage(Handler.java:99)	at android.os.Looper.loop(Looper.java:137)	at android.app.ActivityThread.main(ActivityThread.java:4424)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:511)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)	at dalvik.system.NativeStart.main(Native Method)