LPS-43103 Fix null pointer