Commit df18e97c authored by Mickaël Guessant's avatar Mickaël Guessant

EWS: avoid NullPointerException in fixAttendees

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2306 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 55b42e26
......@@ -1868,6 +1868,7 @@ public class EwsExchangeSession extends ExchangeSession {
}
protected void fixAttendees(GetItemMethod getItemMethod, VObject vEvent) throws EWSException {
if (getItemMethod.getResponseItem() != null) {
List<EWSMethod.Attendee> attendees = getItemMethod.getResponseItem().getAttendees();
if (attendees != null) {
for (EWSMethod.Attendee attendee : attendees) {
......@@ -1886,6 +1887,7 @@ public class EwsExchangeSession extends ExchangeSession {
}
}
}
}
@Override
public List<ExchangeSession.Contact> searchContacts(String folderPath, Set<String> attributes, Condition condition, int maxCount) throws IOException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment