{"action":"created","issue":{"url":"https://api.github.com/repos/aluxnimm/outlookcaldavsynchronizer/issues/174","repository_url":"https://api.github.com/repos/aluxnimm/outlookcaldavsynchronizer","labels_url":"https://api.github.com/repos/aluxnimm/outlookcaldavsynchronizer/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/aluxnimm/outlookcaldavsynchronizer/issues/174/comments","events_url":"https://api.github.com/repos/aluxnimm/outlookcaldavsynchronizer/issues/174/events","html_url":"https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/174","id":183603556,"number":174,"title":"NPE after upgrade to 2.8.0","user":{"login":"maybeec","id":1427255,"avatar_url":"https://avatars.githubusercontent.com/u/1427255?v=3","gravatar_id":"","url":"https://api.github.com/users/maybeec","html_url":"https://github.com/maybeec","followers_url":"https://api.github.com/users/maybeec/followers","following_url":"https://api.github.com/users/maybeec/following{/other_user}","gists_url":"https://api.github.com/users/maybeec/gists{/gist_id}","starred_url":"https://api.github.com/users/maybeec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maybeec/subscriptions","organizations_url":"https://api.github.com/users/maybeec/orgs","repos_url":"https://api.github.com/users/maybeec/repos","events_url":"https://api.github.com/users/maybeec/events{/privacy}","received_events_url":"https://api.github.com/users/maybeec/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-18T06:49:16Z","updated_at":"2016-10-18T08:13:17Z","closed_at":"2016-10-18T08:13:16Z","body":"After upgrading to 2.8.0, I got several NullReferenceExceptions on Calendar sync of the following schema:\r\n\r\n```\r\nSystem.NullReferenceException: Object reference not set to an instance of an object.\r\n   at CalDavSynchronizer.Implementation.Events.EventEntityMapper.Map2To1(IEvent source, IReadOnlyCollection`1 recurrenceExceptionsOrNull, AppointmentItemWrapper targetWrapper, Boolean isRecurrenceException, IEntityMappingLogger logger)\r\n   at CalDavSynchronizer.Implementation.Events.EventEntityMapper.Map2To1(IICalendar sourceCalendar, AppointmentItemWrapper target, IEntityMappingLogger logger)\r\n   at GenSync.Synchronization.States.RestoreInA`6.<UpdateEntity>d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at GenSync.Synchronization.States.RestoreInA`6.JobWrapper.<UpdateEntity>d__9.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at CalDavSynchronizer.Implementation.Events.OutlookEventRepository.<TryUpdate>d__24.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at GenSync.EntityRepositories.BatchEntityRepositoryAdapter`4.<PerformOperations>d__2.MoveNext()\r\n```\r\n\r\nConfiguration:\r\n\r\n* Windows 7 64bit\r\n* Outlook 2013\r\n* Nextcloud 9.0.53"},"comment":{"url":"https://api.github.com/repos/aluxnimm/outlookcaldavsynchronizer/issues/comments/254437834","html_url":"https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/174#issuecomment-254437834","issue_url":"https://api.github.com/repos/aluxnimm/outlookcaldavsynchronizer/issues/174","id":254437834,"user":{"login":"aluxnimm","id":12834530,"avatar_url":"https://avatars.githubusercontent.com/u/12834530?v=3","gravatar_id":"","url":"https://api.github.com/users/aluxnimm","html_url":"https://github.com/aluxnimm","followers_url":"https://api.github.com/users/aluxnimm/followers","following_url":"https://api.github.com/users/aluxnimm/following{/other_user}","gists_url":"https://api.github.com/users/aluxnimm/gists{/gist_id}","starred_url":"https://api.github.com/users/aluxnimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aluxnimm/subscriptions","organizations_url":"https://api.github.com/users/aluxnimm/orgs","repos_url":"https://api.github.com/users/aluxnimm/repos","events_url":"https://api.github.com/users/aluxnimm/events{/privacy}","received_events_url":"https://api.github.com/users/aluxnimm/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T08:13:16Z","updated_at":"2016-10-18T08:13:16Z","body":"Nullreference Exception when options are not saved fixed in 2.8.1"}}
{"actor":{"display_login":"aluxnimm"}}