Sync - Nullable object must have a value
An error occurred when syncing with a Microsoft 365 calendar. This used to work fine. Removing all app data and re-adding the account did not help.
Nullable object must have a value.
Action: ReceiveCalendar
Calendar: Calendar
System.InvalidOperationException: Nullable object must have a value.
at System.Nullable`1[T].get_Value () [0x00008] in <c8188c599aa44ff5949719d679dd5268>:0
at XCalendarApp.MicrosoftGraphProvider.ProviderTypes.Event.GetTZOriginalStart (XCalendarApp.MicrosoftGraphProvider.ProviderTypes.Event seriesMaster) <0x752d499720 + 0x00127> in <19f5e896c781436486db0605884b9d8d>:0
at XCalendarApp.MicrosoftGraphProvider.CachedMicrosoftAppointment.ExpandAllOccurrences (XCalendarApp.Common.Timezones.UtcDateTime rangeStartDate, XCalendarApp.Common.Timezones.UtcDateTime rangeEndDate) <0x752d48a6b8 + 0x0042b> in <19f5e896c781436486db0605884b9d8d>:0
at XCalendarApp.ProviderBase.CachedAppointment`1[T].ExpandReccurence (XCalendarApp.Common.Timezones.UtcDateTime rangeStartDate, XCalendarApp.Common.Timezones.UtcDateTime rangeEndDate) <0x752d6f13dc + 0x00063> in <486d19f8ca8c4c0d9740bc42f807a0f1>:0
at XCalendarApp.ProviderBase.AccountProviderBase`9[TCachedCalendar,TProviderCalendarItem,TCachedAppointment,TProviderAppointmentItem,TCachedContacts,TCachedContact,TProviderContactItem,TAppointmentDbData,TAccountOptions].UpdateExpandedDataForAppointment (XCalendarApp.SQLite.Transaction trans, TCachedAppointment appointment) <0x752d6eabcc + 0x001a3> in <486d19f8ca8c4c0d9740bc42f807a0f1>:0
at XCalendarApp.ProviderBase.AccountProviderBase`9[TCachedCalendar,TProviderCalendarItem,TCachedAppointment,TProviderAppointmentItem,TCachedContacts,TCachedContact,TProviderContactItem,TAppointmentDbData,TAccountOptions].UpdateAppointmentAndExpanded (XCalendarApp.SQLite.Transaction trans, TCachedAppointment appointment) <0x752d6eaa40 + 0x000ef> in <486d19f8ca8c4c0d9740bc42f807a0f1>:0
at XCalendarApp.MicrosoftGraphProvider.MicrosoftGraphAccount.SyncReceiveCalendarFromProvider (XCalendarApp.MicrosoftGraphProvider.CachedMicrosoftCalendar cachedMicrosoftCalendar, XCalendarApp.Model.Data.SyncResults.SyncResult syncResult, XCalendarApp.Common.Timezones.UtcDateTime syncStartDateTime, XCalendarApp.Common.Timezones.UtcDateTime syncEndDateTime, System.String deltaLink) [0x004c8] in <19f5e896c781436486db0605884b9d8d>:0
at XCalendarApp.MicrosoftGraphProvider.MicrosoftGraphAccount.SyncReceiveCalendarFromProvider (XCalendarApp.MicrosoftGraphProvider.CachedMicrosoftCalendar cachedMicrosoftCalendar, XCalendarApp.Model.Data.SyncResults.SyncResult syncResult) [0x00236] in <19f5e896c781436486db0605884b9d8d>:0
at XCalendarApp.ProviderBase.AccountProviderBase`9[TCachedCalendar,TProviderCalendarItem,TCachedAppointment,TProviderAppointmentItem,TCachedContacts,TCachedContact,TProviderContactItem,TAppointmentDbData,TAccountOptions].SyncReceiveCalendar (TCachedCalendar calendar, XCalendarApp.Model.SyncReason syncReason) <0x752d7156e0 + 0x0048b> in <486d19f8ca8c4c0d9740bc42f807a0f1>:0