SONARJAVA-161 XPath rule should not lead to NPE, when parse error happens