From: Anaël Closson Date: Mon, 11 Sep 2017 11:17:36 +0000 (+0200) Subject: Fix: Policy GUI not responding on opening X-Git-Tag: 6.0.0~11^2~1013 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e206b8d9b1cb5a52668163f488bb744fc84d1e5c;p=policy%2Fclamp.git 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 --- 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 d31767150..5b9c5d36d 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 @@ public class SdcCatalogServices { // To remove duplicate resources from serviceDetail and add valid // vfs to service - if (cldsSdcServiceDetail.getResources() != null) { + if (cldsSdcServiceDetail != null && cldsSdcServiceDetail.getResources() != null) { List cldsSdcResourceList = removeDuplicateSdcResourceInstances( cldsSdcServiceDetail.getResources()); if (cldsSdcResourceList != null && !cldsSdcResourceList.isEmpty()) {