[Bug 55684] New: Null pointer dereference in failure path