question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Object reference not set - cannot update Google item when syncing colours and Outlook has no category

See original GitHub issue

Checklist:-

  • Upgrade to the latest release (alpha if available) latest release
  • Reproduce the issue
  • Complete the information below
  • Provide your OGcalsync.log file (see how-to)

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!

OGcalsync.log

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:closed
  • Created a year ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
DirkBloedorncommented, Apr 19, 2022

📦 Please confirm if this is now resolved with [hotfix v2.9.4.3.zip]

Had the same issue. The hotfix workes for me. Thanks!

1reaction
phw198commented, Apr 18, 2022

📦 Please confirm if this is now resolved with hotfix v2.9.4.3.zip (see instructions for applying).

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found