-
-
Notifications
You must be signed in to change notification settings - Fork 877
Open
Labels
type:questionSupport or code-level questionSupport or code-level question
Description
Hi,
Since a few weeks, at app launch, for some users (±0.1%), the app crashes on PFRESTObjectCommand.m line 21 with this error:
Fatal Exception: NSInvalidArgumentException
objectId should be non nil
At launch, we sync the current PFUser and we call PFUser.enableAutomaticUser()
.
I don't know which object could have a nil objectId.
If I add some debug, currentUser.objectId and currentUser.session are OK.
PFObject._validateFetchAsync
is called just before Just before PFRestObjectCommand.fetchObjectCommandForObjectState:withSessionToken
and it doesn't catch some invalid objectId.
A re-installation of the app correct the problem.
Do you have any idea where this might be coming from?
Metadata
Metadata
Assignees
Labels
type:questionSupport or code-level questionSupport or code-level question