check for null Promise *pp before dereferencing
(cherry picked from commit 6c65953ad3a7bfdc1b14024bb8807e89c291a231)

Update ChangeLog.