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.
This is caused by issue #73 in couchbase-lite-java-core, and it seems to have been fixed.
You have a different solution? A short tip here would help you and many other users who saw this issue last week.
- 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)