Fix Blocker/Critical sonar issues
https://sonar.onap.org/component_issues?id=org.openecomp.aai.sparky-be%3Asparky-be#resolved=false|severities=BLOCKER
Fixed NullPointerException might be thrown as 'rootNode' is nullable here
Issue-Id:AAI-342
Change-Id: I32f86eefa224dfd92954581a20e5180f6482910a
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
"Could not deserialize JSON (representing operation result) as node tree. " +
"Operation result = " + jsonResult + ". " + exc.getLocalizedMessage();
LOG.error(AaiUiMsgs.JSON_PROCESSING_ERROR, message);
+ return;
}
JsonNode resultData = rootNode.get("result-data");