Object reference not set - cannot update Google item when syncing colours and Outlook has no category
See original GitHub issueChecklist:-
I set Logging level to ‘debug’.
OGCS Version: 2.9.4.0 - alpha Edition: Installed / Sync Direction: O->G
Bug Description
Steps to Reproduce the Issue
After version update run a SYNC
Any other information
Sync version: 2.9.4.0
Profile: Default
Sync started at 2022-04-13 12:03:15
Syncing from 2022-03-29 to 2022-10-11
Outlook → Google
Finding Calendar Entries
Scanning Outlook calendar...
83 Outlook calendar entries found.
Scanning Google calendar...
81 Google calendar entries found.
17 are exceptions to recurring events.
Total inc. recurring items spanning sync date range...
Outlook 82, Google 82
Checking for orphaned Google items
Matching calendar items...
0 Google calendar entries to be deleted.
0 Google calendar entries to be created.
82 calendar entries to be compared.
Comparing 82 existing Google calendar entries
Event update failed.
Object reference not set to an instance of an object.
0 entries updated.
Sync finished!
2022-04-13 12:02:25,364 ERROR 20 OutlookGoogleCalendarSync.Console [278] - Event update failed.
2022-04-13 12:02:25,366 ERROR 20 OutlookGoogleCalendarSync.Console [278] - Object reference not set to an instance of an object.
2022-04-13 12:02:25,399 ERROR 20 OutlookGoogleCalendarSync.OGCSexception [28] - System.NullReferenceException: Object reference not set to an instance of an object.
2022-04-13 12:02:25,400 ERROR 20 OutlookGoogleCalendarSync.OGCSexception [21] - Code: 0x80004003,-2147467261; Location: UpdateCalendarEntry() in GoogleCalendar.cs:784:21
2022-04-13 12:02:25,401 ERROR 20 OutlookGoogleCalendarSync.OGCSexception [65] - at OutlookGoogleCalendarSync.GoogleOgcs.Calendar.UpdateCalendarEntry(AppointmentItem ai, Event ev, Int32& itemModified, Boolean forceCompare) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\GoogleOgcs\GoogleCalendar.cs:line 784
at OutlookGoogleCalendarSync.GoogleOgcs.Calendar.UpdateCalendarEntries(Dictionary`2 entriesToBeCompared, Int32& entriesUpdated) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\GoogleOgcs\GoogleCalendar.cs:line 557
2022-04-13 12:02:25,402 DEBUG 20 System.Windows.Forms.OgcsMessageBox [72] - Sync item failed: Google event update failed. Continue with synchronisation?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Synchronization issues - Google Workspace Learning Center
Here's how to troubleshoot synchronization issues you might have with Google Workspace Sync for Microsoft Outlook (GWSMO).
Read more >Fixes or workarounds for recent issues in Outlook for PC
Choose Advanced options > Let me set up my account manually. Enter your account password, then choose Connect. If setup fails, select Change...
Read more >Outlook Google Calendar Sync - OGCS | Release Notes
Robust access of Outlook categories; If item categories are not ... Fix null reference errors on sync to Google; Don't validate colour mappings...
Read more >List of new features and missing features in the "New" ...
Shared categories cannot have color. Cannot "view source" of HTML emails. Status bar. Item count, server connectivity status, zoom level, ...
Read more >GO Contact Sync Mod - Browse /Releases/4.1.20 at ...
Sync Outlook contacts and calendars with Google. ... Text is set and Birthday. ... FIX: Handle "Object reference not set to an instance...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Had the same issue. The hotfix workes for me. Thanks!
📦 Please confirm if this is now resolved with hotfix v2.9.4.3.zip (see instructions for applying).