NXP-14929 fix null pointer exception when cache is not deployed