title: NSNull cc_componentsForMonthDayAndYear in Kal calender error ios
body: <p>I am developing iPhone application that persists data to a SQLite3 database.
  Also I am using Kal calender. Here I able to get Calender successfully But when I inserted Date from SQLite3 database. It get crashed by giving error:</p>
  
  <pre><code>Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull cc_componentsForMonthDayAndYear]: unrecognized selector sent to instance 0x3f8a85e0'
  </code></pre>
  
  <p>I am not getting what's wrong going here.. 
  I have go through several search pages..
  I tried to solve this by two way feting double as NSDate like </p>
  
  <pre><code>[NSDate dateWithTimeIntervalSince1970:sqlite3_column_double(selectstmt, 4)]
  </code></pre>
  
  <p>and this way to Fetching NSDate using NSDateFormatter <code>[dateformate dateFromString dateString]</code></p>
  
  <p>please help me regarding this ASAP...</p>