This error occurs if a primitive method was invoked on a null date value.
Action
Determine the cause of the invalid null date and correct the code that led to the error. The method and source position containing the Date type method call at which the exception was raised are reported in the error description.