Check for nil dates in JSON
theandrewdavis opened this issue · comments
Andrew Davis commented
2013-09-23 08:36:36.940 Heart Gallery[2843:a0b] *** -[__NSCFCalendar components:fromDate:]: date cannot be nil
I mean really, what do you think that operation is supposed to mean with a nil date?
An exception has been avoided for now.
A few of these errors are going to be reported with this complaint, then further violations will simply silently do whatever random thing results from the nil.
Here is the backtrace where this occurred this time (some frames may be missing due to compiler optimizations):