fix ===
when encountering null pointer
#44749
Merged
===
when encountering null pointer
#44749