#developerHumour – Xcode 4 Error message

im used to working with xcode all the time, NS 99% of the time it throws out standard error messages  but once in a while they come with a bit of personality, sometimes you get those unexpected error messages that just make you smile. Here’s one such message, copied straight from the debug console 😀

–>  *** -[__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):