-
-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
android.database.CursorIndexOutOfBoundsException: Index 1 requested, with a size of 1 #86
Comments
Are you using |
Feel free to reopen if you have more info. |
I am facing the same issue.
When I call next() in while loop, it throws |
I think I'd worked around the problem in some kind of hacky way by the time Grey commented here - although I'm not currently working on the project to check. In my case the .next is being done by OrmLites internal code as I'm simply iterating over a foreign collection: So I'm not sure how I could go off the end. |
I use hasNext(). I used 'com.j256.ormlite:ormlite-android:4.48' for my project. |
I'm facing the same issue. It occurs randomly. Version com.j256.ormlite:ormlite-android:5.0
Stacktrace:
|
I have the same problem: Is there some workaround? Thanks |
Very similar issue :
|
I have some code as above. I'm getting strange crashes from Ormlite out in the wild.
ServiceBookings are a lazy foreign collection.
I'm getting the following error and stack trace from the allServiceBookingsFromVehicles.addAll(vehicle.getServiceBookings());
line above:
Any guesses as to what I'm doing wrong? The issue isn't easily repeatable unfortunately.
The text was updated successfully, but these errors were encountered: