From 458688f9eccca6b3c27730fc8a4fb04b79167430 Mon Sep 17 00:00:00 2001 From: Clement Hennequin Date: Fri, 18 Oct 2024 14:54:19 -0400 Subject: [PATCH] Null handling for Processing Flavor set --- .../immregistries/iis/kernal/logic/IncomingMessageHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/immregistries/iis/kernal/logic/IncomingMessageHandler.java b/src/main/java/org/immregistries/iis/kernal/logic/IncomingMessageHandler.java index 41403e2f..bae2c909 100644 --- a/src/main/java/org/immregistries/iis/kernal/logic/IncomingMessageHandler.java +++ b/src/main/java/org/immregistries/iis/kernal/logic/IncomingMessageHandler.java @@ -572,7 +572,7 @@ public String buildAck(HL7Reader reader, List processingExc } // if processing flavor contains MEDLAR then all the non E errors have to removed from the processing list - if (processingFlavorSet.contains(ProcessingFlavor.MEDLAR)) { + if (processingFlavorSet != null && processingFlavorSet.contains(ProcessingFlavor.MEDLAR)) { List tempProcessingExceptionList = new ArrayList(); for (ProcessingException pe : processingExceptionList) { if (pe.isError()) {