DF#QCADOOMES-1387 fixed NPE
DF#QCADOOMES-1387 fixed NPE