exception process when datatype is null