[FP] Dereference of null pointer

(cherry picked from commit 39d25cc7db1f774f1171c7d8ef160b74170e4f0f)