NXP-15042: avoid npe