summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorAnaël Closson <ac2550@intl.att.com>2017-09-11 13:17:36 +0200
committerChristophe Closset <cc697w@intl.att.com>2017-09-11 13:07:35 +0000
commite206b8d9b1cb5a52668163f488bb744fc84d1e5c (patch)
tree32a55c584020f34d67f4a95b01087357ca9ebfc7 /src/main
parent5667f59be378b8ca78accc30c6e4fc4128174222 (diff)
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>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/clamp/clds/client/SdcCatalogServices.java2
1 files changed, 1 insertions, 1 deletions
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<CldsSdcResource> cldsSdcResourceList = removeDuplicateSdcResourceInstances(
cldsSdcServiceDetail.getResources());
if (cldsSdcResourceList != null && !cldsSdcResourceList.isEmpty()) {