6

Outlook sync doesn't work anymore

A few days back it looks like the Outlook sync doesn't work at all anymore. My outlook calendar is frozen in a previous state on my phone and when I added the app to a new computer, it doesn't populate it at all. Running on Android and two different Windows PCs.

Nullable object must have a value.

System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException_InvalidOperation_NoValue() + 0x2d
at System.Nullable`1.get_Value() + 0x12
at CalendarApp.MicrosoftGraphProvider.CachedMicrosoftAppointment.GetModifiedOccurrences() + 0x147
at CalendarApp.ProviderBase.CachedAppointment`1.SetRecurrenceEndDate() + 0xe5
at CalendarApp.ProviderBase.CachedAppointment`1.get_CurrentFieldValues() + 0x3c
at CalendarApp.ProviderBase.CachedAppointment`1.SetRecurrenceEndDate() + 0x3a
at CalendarApp.MicrosoftGraphProvider.CachedMicrosoftAppointment.AddOccurrence(Event) + 0x126
at CalendarApp.MicrosoftGraphProvider.MicrosoftGraphAccount.d__7.MoveNext() + 0xad6
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at CalendarApp.MicrosoftGraphProvider.MicrosoftGraphAccount.d__6.MoveNext() + 0x2e2
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at CalendarApp.ProviderBase.AccountProviderBase`9.d__99.MoveNext() + 0x21b

4 replies

M
1

Same here. Android app works, but the Windows version gets this error (below). The Windows version syncs with my Gmail accounts. For my O365 account, it syncs up to a certain date and then zero events synced after that date. I'm assuming there's a specific meeting on my O365 calendar that's causing problems. I just have no way to troubleshoot.

Nullable object must have a value.

System.InvalidOperationException: Nullable object must have a value.
at System.ThrowHelper.ThrowInvalidOperationException_InvalidOperation_NoValue() + 0x2d
at System.Nullable`1.get_Value() + 0x12
at CalendarApp.MicrosoftGraphProvider.CachedMicrosoftAppointment.GetModifiedOccurrences() + 0x147
at CalendarApp.ProviderBase.CachedAppointment`1.SetRecurrenceEndDate() + 0xe5
at CalendarApp.ProviderBase.CachedAppointment`1.get_CurrentFieldValues() + 0x3c
at CalendarApp.ProviderBase.CachedAppointment`1.SetRecurrenceEndDate() + 0x3a
at CalendarApp.MicrosoftGraphProvider.CachedMicrosoftAppointment.AddOccurrence(Event) + 0x126
at CalendarApp.MicrosoftGraphProvider.MicrosoftGraphAccount.<SyncReceiveCalendarFromProvider>d__7.MoveNext() + 0xad6
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at CalendarApp.MicrosoftGraphProvider.MicrosoftGraphAccount.<SyncReceiveCalendarFromProvider>d__6.MoveNext() + 0x2e2
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.TaskAwaiter.GetResult() + 0xb
at CalendarApp.ProviderBase.AccountProviderBase`9.<SyncReceiveCalendar>d__99.MoveNext() + 0x21b

M

Update - I uninstalled and reinstalled the Windows app. I still get the same error message, but instead of my O365 calendar stopping at a certain day, it updates all the way...HOWEVER, it doesn't sync any of my recurring meetings. It only adds one-time meetings to my OneCalendar. So a little better, but still problematic

SO

I have the same problem associated with two Office365 email accounts. 

Hi,

This is a problem that started recently. We have investigated it and it seems Microsoft created a bug in their Outlook API. We have reported it to them and we are currently trying to create a solution/workaround as soon as possible.

Sorry for any inconvenience.

Hi,

There was a problem with the Outlook/Office365 synchronisation that started recently. It started to give errors with a message like "Nullable object..."

We have investigated it and it seems Microsoft created a bug in their public Outlook API.

We have created a fix/workaround in the software, please update to the latest OneCalendar version from the store to resolve this issue:
- Windows OneCalendar version 2023.310.1.0 or higher
- Android OneCalendar version 4.3.5 or higher
- iOS OneCalendar version 4.4 or higher
- macOS OneCalendar version 4.4 or higher

Sorry for any inconvenience.

Have a good day!

OneCalendar Team