summaryrefslogtreecommitdiffstats
path: root/adapters
diff options
context:
space:
mode:
authorArthur Martella <amartell@research.att.com>2017-10-10 17:26:19 -0400
committerArthur Martella <amartell@research.att.com>2017-10-10 17:28:30 -0400
commitef8677cc54684522d2ec186bc105f20422f8d8a5 (patch)
treee4283d82350b10b596b2f34262484d3c5871a90b /adapters
parentd8b291e5d903cd938a33522eb3098d74a4465edd (diff)
Sonar blocker issue - NullPointerExeption - take 2
Catch potential NullPointerException described in https://sonar.onap.org/issues/search#issues=AV7t547AlaLbmlVXT_jY Semi-duplicate of https://gerrit.onap.org/r/#/c/17703/ Trying again from newer branch which will hopefully fix build failures. Change-Id: I65c9af1ec1a90bed201042cffb45f3871222a889 Issue-ID: SO-165 Signed-off-by: Arthur Martella <amartell@research.att.com>
Diffstat (limited to 'adapters')
-rw-r--r--adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java
index 9afe3bff36..a8189925fb 100644
--- a/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java
+++ b/adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java
@@ -283,6 +283,9 @@ public class BpelRestClient {
} catch (IOException e) {
// ignore
LOGGER.debug("IOException: ", e);
+ } catch (NullPointerException e) {
+ //ignore
+ LOGGER.debug("NullPointerException: ", e);
}
}
LOGGER.debug("Response code from BPEL server: "+lastResponseCode);