Skip to content

Make sure the Cursor is initialized correctly before accessing data from it. #72

@luongchautuan

Description

@luongchautuan

ReActiveAndroid Version:

Bug or Feature Request:

Description:

Hello everyone,

I got this error while switch ActiveAndroid lib to ReActiveAndroid lib.

Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it.

I used a query after init ReActiveAndroid : Select.from(Identity.class).where("current= ?", 1).fetchSingle();

so I have an db used ActiveAndroid before and now I got that error when i use ReActiveAndroid from exist database db.

I also updated model based on migration docs.

Any hint for me here?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions