diff --git a/src/java/davmail/exchange/ews/EWSMethod.java b/src/java/davmail/exchange/ews/EWSMethod.java index 7d48fa2c..583ab524 100644 --- a/src/java/davmail/exchange/ews/EWSMethod.java +++ b/src/java/davmail/exchange/ews/EWSMethod.java @@ -601,7 +601,11 @@ public abstract class EWSMethod extends PostMethod { */ public List getResponseItems() throws EWSException { checkSuccess(); - return responseItems; + if (responseItems != null) { + return responseItems; + } else { + return new ArrayList(); + } } /**