Scripts cannot be defined as NULL

Error code -10039
Error constant CURSOR_SCRIPTS_MUST_BE_NON_NULL
 Probable cause