Open mrcjkb opened 3 years ago
I have tracked down the issue to the following line in EwsExchangeSession
:
findItemMethod.setFieldOrder(new FieldOrder(Field.get("imapUid"), FieldOrder.Order.Ascending));
Commenting out that line causes the request to be successful (with a HttpStatus.SC_OK
status code).
But now the line
long imapUid = Long.parseLong(item.get(Field.get("imapUid").getResponseName()));
fails, because item.get(Field.get("imapUid").getResponseName())
returns null
.
The null
pointer issue has already been fixed on master. But authentication does not seem to be working on master
Adding a null
check and commenting out the setFieldOrder
call seems to resolve the issue for me.
Is it feasible to add an option to disable or configure the FieldOrder
sorting configuration?
Hi. I am using mbsync and davmail 5.5.0 to sync to a Kerio Exchange e-mail account. When starting a sync, I encounter the following stack trace: