Skip to content

Instantly share code, notes, and snippets.

@antokne
Created March 28, 2013 08:14
Show Gist options
  • Save antokne/5261551 to your computer and use it in GitHub Desktop.
Save antokne/5261551 to your computer and use it in GitHub Desktop.
components:fromDate:toDate:options: error
*** -[__NSCFCalendar components:fromDate:toDate:options:]: fromDate cannot be nil
I mean really, what do you think that operation is supposed to mean with a nil fromDate?
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):
(
0 CoreFoundation 0x33adc48f <redacted> + 86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment