fixes npe exceptions related with stabilizer run
checkstyle fix
Merge pull request #3977 from gurbuzali/npe-fixes/master

fixes npe exceptions related with stabilizer run