Fix: Policy GUI not responding on opening

A call to the backend method getSdcPropertiesByServiceUUIDForRefresh
is failing. This is due to invalid handling of Sdc messages introduced
with revision 13966ab288578be392c5d2c64d5a9d7b6f600327.

Change-Id: I1ade99f50a177d7db6042938c4f0734eba0071fd
Issue-Id: CLAMP-51
Signed-off-by: Anaël Closson <ac2550@intl.att.com>
diff --git a/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java b/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java
index d317671..5b9c5d3 100644
--- a/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java
+++ b/src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java
@@ -463,7 +463,7 @@
 

             // To remove duplicate resources from serviceDetail and add valid

             // vfs to service

-            if (cldsSdcServiceDetail.getResources() != null) {

+            if (cldsSdcServiceDetail != null && cldsSdcServiceDetail.getResources() != null) {

                 List<CldsSdcResource> cldsSdcResourceList = removeDuplicateSdcResourceInstances(

                         cldsSdcServiceDetail.getResources());

                 if (cldsSdcResourceList != null && !cldsSdcResourceList.isEmpty()) {