ERT: Added NULL pointer check
p4#: 20292