diff --git a/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/OutputValidationUtil.java b/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/OutputValidationUtil.java index de4a7c8952..fa0389f1cc 100644 --- a/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/OutputValidationUtil.java +++ b/automationtests/src/main/java/io/mosip/testrig/apirig/authentication/fw/util/OutputValidationUtil.java @@ -601,7 +601,7 @@ public static void reportServerIssues(String responseString, TestCaseDTO testCas errors.put(tempJson); } - if (errors.length() == 0) { + if (errors == null ||errors.length() == 0) { return; }