From e206b8d9b1cb5a52668163f488bb744fc84d1e5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ana=C3=ABl=20Closson?= Date: Mon, 11 Sep 2017 13:17:36 +0200 Subject: [PATCH] Fix: Policy GUI not responding on opening MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 d3176715..5b9c5d36 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()) { -- 2.16.6