-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
"java.lang.IllegalStateException: Call fetchIfNeeded()" when calling remove() on a already null field #923
Comments
The server shouldn't really affect this issue, and from looking at the android source, I don't see why this error could be thrown during a remove call. https://github.com/ParsePlatform/Parse-SDK-Android/blob/f439b3d3ba02eaad52e653b6890b3a10e74168da/Parse/src/main/java/com/parse/ParseObject.java#L157 How are you getting the object? |
It's a reference from the CurrentUser object. |
any update on this? |
?????? |
This sounds like an issue with the Android SDK. Can you open an issue over there? |
How could it be an issue with android sdk? |
In that case can you provide some more details about what exception the server is throwing? Your original issue mentioned a java language exception, which is part of the Android SDK, not the server. If you could provide some consistent repro steps, that would be ideal. |
I'll do that ASAP. |
No response in many days, closing. |
Dude, I don't have time for this at the moment. But this is a serious issue. |
We did try to reproduce and weren't able to. If you can post a small example code that reproduces the error, or a cURL request that has different behaviour on Parse.com and Parse Server (the API Console can help with that) then we will be able to help. |
I noticed another Error that doesn't happens on Parse.com hosted server when trying to call "remove" on a null text field I get this error:
"java.lang.IllegalStateException: ParseObject has no data for 'alternateEmail'. Call fetchIfNeeded() to get the data."
the android code that causes this is this:
super.remove("alternateEmail");
with the Parse hosted server I never get this error.
Can you please fix it?
Thanks!
The text was updated successfully, but these errors were encountered: