Oracle Message ORA-09989 - attempt to use invalid skgmsdef struct pointer

ERRORattempt to use invalid skgmsdef struct pointer
CAUSEPointer to skgmsdef struct used without validating it
ACTIONAssign a valid address to the skgmsdef struct pointer before using it.