Fixed getURLFromXML

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/data-miner-manager@133482 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2016-10-25 09:43:04 +00:00
parent 3d555865cb
commit 1858c55b13
1 changed files with 9 additions and 2 deletions

View File

@ -556,12 +556,19 @@ public class SClient4WPS extends SClient {
if (node == null)
return;
logger.debug("Node Name: " + node.getNodeName() + "- Value:"
+ node.getFirstChild().getNodeValue());
logger.debug("Node Name: " + node.getNodeName());
if (node.getNodeName() == null) {
return;
}
if (node.getFirstChild() != null) {
logger.debug("Node Value: " + node.getFirstChild().getNodeValue());
} else {
logger.debug("FirstChild is NULL");
return;
}
String text;
switch (node.getNodeName()) {