[GH-ISSUE #394] Sync calendar exception since Version 4.4.1 NullReferenceException get_IsAllDay() #1278

Open
opened 2026-03-14 00:50:31 +03:00 by kerem · 4 comments
Owner

Originally created by @dylancollaud on GitHub (May 1, 2023).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/394

Hi,
Since last version we got some exceptions (All same) linked apparently to privat event in calendar

System.NullReferenceException: Object reference not set to an instance of an object.
at DDay.iCal.Event.get_IsAllDay()
at CalDavSynchronizer.Implementation.Events.EventEntityMapper.Map2To1(IEvent source, IReadOnlyCollection1 recurrenceExceptionsOrNull, IAppointmentItemWrapper targetWrapper, Boolean isRecurrenceException, IEntitySynchronizationLogger logger, IEventSynchronizationContext context) at CalDavSynchronizer.Implementation.Events.EventEntityMapper.Map2To1(IICalendar sourceCalendar, IAppointmentItemWrapper target, IEntitySynchronizationLogger logger, IEventSynchronizationContext context) at GenSync.Synchronization.States.UpdateBToA7.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GenSync.Synchronization.States.UpdateBToA7.JobWrapper.<UpdateEntity>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CalDavSynchronizer.Implementation.Events.OutlookEventRepository.<TryUpdate>d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at GenSync.EntityRepositories.BatchEntityRepositoryAdapter4.d__3.MoveNext()

We sync with Infomaniak system in Switzerland. Maybe the error come from them.

The exception seems to be "NullReferenceException".

Thank you for your help.

Originally created by @dylancollaud on GitHub (May 1, 2023). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/394 Hi, Since last version we got some exceptions (All same) linked apparently to privat event in calendar > System.NullReferenceException: Object reference not set to an instance of an object. at DDay.iCal.Event.get_IsAllDay() at CalDavSynchronizer.Implementation.Events.EventEntityMapper.Map2To1(IEvent source, IReadOnlyCollection`1 recurrenceExceptionsOrNull, IAppointmentItemWrapper targetWrapper, Boolean isRecurrenceException, IEntitySynchronizationLogger logger, IEventSynchronizationContext context) at CalDavSynchronizer.Implementation.Events.EventEntityMapper.Map2To1(IICalendar sourceCalendar, IAppointmentItemWrapper target, IEntitySynchronizationLogger logger, IEventSynchronizationContext context) at GenSync.Synchronization.States.UpdateBToA`7.<UpdateEntity>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GenSync.Synchronization.States.UpdateBToA`7.JobWrapper.<UpdateEntity>d__13.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at CalDavSynchronizer.Implementation.Events.OutlookEventRepository.<TryUpdate>d__23.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at GenSync.EntityRepositories.BatchEntityRepositoryAdapter`4.<PerformOperations>d__3.MoveNext() We sync with Infomaniak system in Switzerland. Maybe the error come from them. The exception seems to be "NullReferenceException". Thank you for your help.
Author
Owner

@aluxnimm commented on GitHub (May 2, 2023):

Can you post the ics file of the event in the sync report that causes this error?

<!-- gh-comment-id:1531763906 --> @aluxnimm commented on GitHub (May 2, 2023): Can you post the ics file of the event in the sync report that causes this error?
Author
Owner

@dylancollaud commented on GitHub (May 2, 2023):

I don't know if this is this file you need :

34adb592-268f-48c8-9924-800d4af57ddf20230502172342010.log

This file was in AppData/Local/CalDavSynchronizer/xxx

<!-- gh-comment-id:1531867981 --> @dylancollaud commented on GitHub (May 2, 2023): I don't know if this is this file you need : [34adb592-268f-48c8-9924-800d4af57ddf20230502172342010.log](https://github.com/aluxnimm/outlookcaldavsynchronizer/files/11376025/34adb592-268f-48c8-9924-800d4af57ddf20230502172342010.log) This file was in AppData/Local/CalDavSynchronizer/xxx
Author
Owner

@aluxnimm commented on GitHub (May 3, 2023):

In this sync report there should be a link to server id and there you can download the raw data of that event, /calendars/JC05088/bff3257e-239f-47cb-bbc1-1cb1ca40bccd/8b6cf2dd-f159-477c-994e-811ddfeeff53.ics

<!-- gh-comment-id:1532577020 --> @aluxnimm commented on GitHub (May 3, 2023): In this sync report there should be a link to server id and there you can download the raw data of that event, /calendars/JC05088/bff3257e-239f-47cb-bbc1-1cb1ca40bccd/8b6cf2dd-f159-477c-994e-811ddfeeff53.ics
Author
Owner

@dylancollaud commented on GitHub (May 3, 2023):

Here you can find the file :

8b6cf2dd-f159-477c-994e-811ddfeeff53.txt

I change the extension to .txt but this is my .ics. (Github don't accept this extension)

<!-- gh-comment-id:1532672318 --> @dylancollaud commented on GitHub (May 3, 2023): Here you can find the file : [8b6cf2dd-f159-477c-994e-811ddfeeff53.txt](https://github.com/aluxnimm/outlookcaldavsynchronizer/files/11380950/8b6cf2dd-f159-477c-994e-811ddfeeff53.txt) I change the extension to .txt but this is my .ics. (Github don't accept this extension)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#1278
No description provided.