之前版本不崩溃,现在怎么获取不到objeceid

[currentInstallation saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
    DLog(@"*****register apns %@", error);
    if (error == nil)
    {
        [[AVUser currentUser] setObject:[AVInstallation currentInstallation] forKey:kAVIMInstallationKeyUser];
        [[AVUser currentUser] saveInBackground];

        AVQuery *query = [AVInstallation query];
        if (currentInstallation.objectId) {
            [query whereKey:@"objectId" notContainedIn:@[currentInstallation.objectId]];
        }
        [query whereKey:@"channels" containedIn:@[userId]];