X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fonap%2Faai%2Fauth%2FAAIMicroServiceAuthCore.java;h=f1b354915a8d9d857f984e1a338de2c54296b2d7;hb=20555f4c8fc76c5ebba78324788ec91af41aeaea;hp=eae1a246bd9f00c17e926bc77a2550000eac5b45;hpb=dc7259b2afe470f511a1af15418f76ccb9e421c9;p=aai%2Fbabel.git diff --git a/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java b/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java index eae1a24..f1b3549 100644 --- a/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java +++ b/src/main/java/org/onap/aai/auth/AAIMicroServiceAuthCore.java @@ -165,7 +165,7 @@ public class AAIMicroServiceAuthCore { } } catch (FileNotFoundException e) { throw new AAIAuthException("Auth policy file could not be found", e); - } catch (JsonProcessingException e) { + } catch (JsonProcessingException | NullPointerException e) { throw new AAIAuthException("Error processing Auth policy file ", e); } catch (IOException e) { throw new AAIAuthException("Error reading Auth policy file", e);