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()) {