prevent null pointer JENKINS-19086