KRACOEUS-7948: Fix null pointer