0

I'm getting an EXC_BAD_ACCESS in the latest version of CJSONDeserializer.m at the setData method. i.e. in here

- (BOOL)_setData:(NSData *)inData error:(NSError **)outError;

See screenshot:

setData

It started happening when I added an entry under NSExceptionDomains (as mentioned here: NSURLSession/NSURLConnection HTTP load failed on iOS 9 )

Any suggestions how to proceed?

Community
  • 1
  • 1
Snowcrash
  • 80,579
  • 89
  • 266
  • 376
  • do you check to see that you're getting an error? are you actually receiving data? – Louis Tur Dec 02 '15 at 23:57
  • No, I'm not receiving any data. Does Obj-C raise an exception when calling a method on nil? – Snowcrash Dec 03 '15 at 00:03
  • Obj-c will not crash if you call a method of an object that is nil ([theData getLenght]; would just return nil but here you accessing a property of an object that is nil that would cause an error. http://stackoverflow.com/questions/2696891/calling-a-method-on-an-unitialized-object-null-pointer – Yan Dec 03 '15 at 03:26

0 Answers0