-
-
Notifications
You must be signed in to change notification settings - Fork 735
ParseRequestException: i/o failure When I query more than 8 rows #326
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
Comments
Thank you for your feedback. We prioritize issues that have clear and concise repro steps. Please see our Bug Reporting Guidelines about what information should be added to this issue.
|
Could you please include the entire stacktrace, the exact version of the Parse SDK you're using that this issue reproduces on, and a project that we can use to reproduce this issue with? |
I import in gradle by below code: |
A full stack trace has the entire stack, not just the error message. You can refer to other issues for examples. A working project that repros this is also still required. |
oh so sorry. My full stacktrade below:
I tried test with example project at |
Please help me. I added more information |
Hi. I run into this problem too. I assume it has to do with the last version of Parse because they are using another http client that is only fully compatible with Android 5.1 or superior. To make it work I am using the 1.11.0 version ( compile 'com.parse:parse-android:1.11.0' ). So far no problems. |
@Xelz: so with parse 1.11.0 It works fine? |
I tested with parse 1.11.0 on device 4.3, It works fine. Thanks @Xelz |
Any solution for the latest version?, yes is try if I downgrade to 1.11 works as expected, new version is not working on 4.3 at least |
I had the same problem with version '1.+'. But I think that it doesn`t depend on the number of rows. It depends on the size of receiving data (number of filled cells). Now with version of Parse 1.11.0 works fine on Android 4.1.2 |
@wangmengyan95 can you take a look at this? environments:
repro steps:
expected results:
actual results:
code:ParseQuery<ParseObject> query = new ParseQuery<>("TestObject");
ParseObject object;
int i = 0;
for (; i < 8; i++) {
object = new ParseObject("TestObject");
object.put("index", i);
object.save();
}
Log.d("test", "objects: " + query.find().size());
for (; i < 9; i++) {
object = new ParseObject("TestObject");
object.put("index", i);
object.save();
}
Log.d("test", "objects: " + query.find().size()); notes:
|
@grantland sure, will do that. |
This is actually cause by we add unnecessary |
I query to a className, I got error
com.parse.ParseRequest$ParseRequestException: i/o failure
. When the className have more than 8 rows I got this error, but when the className have less than 8 rows It works fine. I tried a options this is: When the className have more than 8 rows, I setLimit(8) for query It works fine, but when I setLimit more than 8 I got this error.Version I used:
compile 'com.parse.bolts:bolts-android:1.+' compile 'com.parse:parse-android:1.+'
Please help me.
Update:
I test on two device: Genymotion device 4.3 it got this error. Genymotion device 5.1 It works fine.
The text was updated successfully, but these errors were encountered: