Oracle Message ORA-23369 - value of string argument cannot be null

ERRORvalue of string argument cannot be null
CAUSEArgument max_missing to differences() routine cannot be NULL.
ACTIONLegal values for max_missing are integers 1 or greater.