TheRealKerni/QuincyKit — Issue #79: Crash in BWQuincyManager
Author: Joe030984
Created: 2011-12-19 18:53:46+00:00
State: open

Our app has a reported crash occurring in BWQuincyManager. It appears that some of the required data doesn't exist in the response from the server, so we get an exception trying to build a string.

The code that is causing the crash is below:

NSMutableDictionary *response = [NSPropertyListSerialization propertyListFromData:_responseData
mutabilityOption:NSPropertyListMutableContainersAndLeaves
format:nil
errorDescription:NULL];
_serverResult = (CrashReportStatus)[[response objectForKey:@"status"] intValue];
_feedbackRequestID = [[NSString alloc] initWithString:[response objectForKey:@"id"]]; // ** This is the method that crashes **
_feedbackDelayInterval = [[response objectForKey:@"delay"] floatValue];

A crash report can be provided, if necessary.