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:
parent
3d555865cb
commit
1858c55b13
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue