title: Exception not handled in JSONObjectWithData iOS?
body: <p>I am getting a random crash while parsing <code>NSData</code> into dictionary. I used the following code.  </p>
  
  <pre><code> -(NSArray *)enumDataParser:(NSMutableData *)responseData
      {   
          @try { 
              NSError *error;      
              NSDictionary *jsonDictionary = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:&amp;error];
          }
          @catch (NSException *exception) {
              [[IFieldServiceCrashLog sharedLog] writeExceptionLogFile:exception];
              [self performCatchOperation:exception];
          }
      }
  </code></pre>
  
  <p>Sometimes I am getting "nil", and other times my app crashes (<code>Exception not catched</code>).</p>
  
  <p>I am sure <code>responseData</code> is not nil, since whenever the crash happens, <code>"error"</code> does not give me a reason (error found as nil).</p>
  
  <p>App crashes at method <code>JSONObjectWithData</code> itself. How can I fix this or handle in exception?</p>