In my case its usually a type problem, getting a float when I coded for an Int. date in a a format I did not expect, getting nil value, etc. Add lots of logging and try with data you know is good.
Topic:
App & System Services
SubTopic:
General
Tags: