Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.11.3 O->G for series instance moved into synced date window - Object Reference Error #2081

Open
DamianSuess opened this issue Feb 24, 2025 · 3 comments
Assignees
Labels
bug Something's not working right waiting fix confirmation Hotfix available for testing

Comments

@DamianSuess
Copy link

DamianSuess commented Feb 24, 2025

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)

OGCS Version: v2.11.3.0
Edition: Installed
Sync Direction: O->G
Outlook Version: Microsoft® Outlook® for Microsoft 365 MSO (Version 2408 Build 16.0.17928.20336) 64-bit

Bug Description
After updating to v2.11.3.0, syncing from Outlook to Google is failing with an object reference exception. Prior to upgrading, v2.11.2.0 was working.

Steps to Reproduce the Issue

  1. Upgraded
  2. Error message pops every time after syncing.

OGcalsync - v2.11.3.0 - Object Reference Error After Update.log

Any other information
Any additional information that may help troubleshoot the issue.
📎 Attach your OGcalsync.log file.

Question

How do I go about reverting back to the previous version?

It's been a while since i've used Squirrel updater in my own programs. Do I just uninstall the latest package folder? Or, do i have to delete the folder & manually unpackage the root OutlookGoogleCalendarSync.exe from the .nukpg file..

I love this app for syncing, literally depending on it for work needs. Thank you @phw198 in advance

Error message:

5c018e6#diff-b455ce7ec6e21297ba163148fd7bb877f06eefe5a68075c3b6d330192eb821e3R176

2025-02-24 09:17:25,451 ERROR 21 OutlookGoogleCalendarSync.Console [419] -  <Console\Console.cs:403> Unable to update existing entries in the Google calendar.
2025-02-24 09:17:25,459 ERROR 21 OutlookGoogleCalendarSync.Console [419] -  Object reference not set to an instance of an object.
2025-02-24 09:17:26,184 ERROR 21 OutlookGoogleCalendarSync.Exception [29] -  System.NullReferenceException: Object reference not set to an instance of an object.
2025-02-24 09:17:26,185 ERROR 21 OutlookGoogleCalendarSync.Exception [22] -  Code: 0x80004003,-2147467261; Location: GetCalendarEntriesInRecurrence() in GetCalendarEntriesInRecurrence() at offset 80 in GoogleCalendar.cs:176:13
2025-02-24 09:17:26,186 ERROR 21 OutlookGoogleCalendarSync.Exception [66] -     at OutlookGoogleCalendarSync.Google.Calendar.GetCalendarEntriesInRecurrence(String recurringEventId, Boolean filterToSyncDates) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Google\GoogleCalendar.cs:line 176
   at OutlookGoogleCalendarSync.Google.Recurrence.getGoogleInstance(Exception oExcp, String gRecurringEventID, Boolean dirtyCache) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Google\GoogleRecurrence.cs:line 340
   at OutlookGoogleCalendarSync.Google.Recurrence.UpdateGoogleExceptions(AppointmentItem ai, Event ev, Boolean dirtyCache) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Google\GoogleRecurrence.cs:line 566
   at OutlookGoogleCalendarSync.Google.Calendar.UpdateCalendarEntries(Dictionary`2 entriesToBeCompared, Int32& entriesUpdated) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Google\GoogleCalendar.cs:line 819
   at OutlookGoogleCalendarSync.Sync.Engine.Calendar.outlookToGoogle(List`1 outlookEntries, List`1 googleEntries, String& bubbleText) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Calendar.cs:line 666
   at OutlookGoogleCalendarSync.Sync.Engine.Calendar.synchronize() in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Calendar.cs:line 486
   at OutlookGoogleCalendarSync.Sync.Engine.Calendar.<>c__DisplayClass11_1.<StartSync>b__0(Object o, DoWorkEventArgs args) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Calendar.cs:line 137
@DamianSuess DamianSuess added the bug Something's not working right label Feb 24, 2025
@phw198 phw198 self-assigned this Feb 26, 2025
@phw198 phw198 added the triage Issue being investigated label Feb 26, 2025
phw198 added a commit that referenced this issue Feb 26, 2025
Retrieve Google occurrences that were original outside the sync window.
#2081
@phw198
Copy link
Owner

phw198 commented Feb 26, 2025

📦 Hopefully you won't need to downgrade if this hotfix v2.11.3.1.zip resolves it (see instructions for applying).
      CRCs: Zip = EA196FB6 Exe = AF46036B

Let me know how it goes!

Note for reference: this issue affects O->G where Google has no series occurrence within the synced date range, but in Outlook an occurrence has been moved into that date range.

@phw198 phw198 added waiting fix confirmation Hotfix available for testing and removed triage Issue being investigated labels Feb 26, 2025
@DamianSuess
Copy link
Author

Oh wow, Paul, you are amazingly fast! I did a backup just in case. I'll give it a shot in the AM & let you know how it turns out.

Thank you very much! I know how tiring managing a project can be on here (i do a few as well). I really appreciate your lightening response.

Talk to you soon 👍

@phw198 phw198 changed the title Object Reference Error after upgrading to v2.11.3 O->G for series instance moved into synced date window - Object Reference Error Feb 26, 2025
@cammaris
Copy link

Hi, I can confirm the hotfix works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working right waiting fix confirmation Hotfix available for testing
Projects
None yet
Development

No branches or pull requests

3 participants