Hi,
I have some "Blocker" which are actually false positives.
Is there any open task to solve?
The following is an excerpt of the source code with the error:
...
...
if (!GSSCUDGUtility.isNullOrEmpty(nodeString)){
DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
domFactory.setNamespaceAware(true); // never forget this!
DocumentBuilder builder = domFactory.newDocumentBuilder();
ByteArrayInputStream is = null;
try{
is = new ByteArrayInputStream(nodeString.getBytes());
NullPointerException might be thrown as 'nodeString' is nullable here
...
...
However, this method:
if (!GSSCUDGUtility.isNullOrEmpty(nodeString)){
checks that the "nodeString" is not null or ""