diff options
author | Arthur Martella <amartell@research.att.com> | 2017-10-10 17:26:19 -0400 |
---|---|---|
committer | Arthur Martella <amartell@research.att.com> | 2017-10-10 17:28:30 -0400 |
commit | ef8677cc54684522d2ec186bc105f20422f8d8a5 (patch) | |
tree | e4283d82350b10b596b2f34262484d3c5871a90b /adapters/mso-vnf-adapter/src/main/java/org/openecomp | |
parent | d8b291e5d903cd938a33522eb3098d74a4465edd (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/mso-vnf-adapter/src/main/java/org/openecomp')
-rw-r--r-- | adapters/mso-vnf-adapter/src/main/java/org/openecomp/mso/adapters/vnf/BpelRestClient.java | 3 |
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); |