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.

GetAppointmentByID() System.NullReferenceException (Outlook 2003)

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)

OGCS Version: v2.9.5.0 Edition: Installed Sync Direction: G->O

Bug Description

Initial sync from google calendar works, syncs after that give a nullreference exception. No indication which item it is, and not using colours/categories (outlook 2003). As a test, removed all recurring events from google, did not help.

2022-05-26 12:31:47,370 INFO  20 OutlookGoogleCalendarSync.Console [287] -  Total inc. recurring items spanning sync date range...
2022-05-26 12:31:47,669 ERROR  20 OutlookGoogleCalendarSync.OGCSexception [28] -  System.NullReferenceException: De objectverwijzing is niet op een exemplaar van een object ingesteld.
2022-05-26 12:31:47,669 ERROR  20 OutlookGoogleCalendarSync.OGCSexception [21] -  Code: 0x80004003,-2147467261; Location: GetAppointmentByID() in OutlookOld.cs:425:17
2022-05-26 12:31:47,669 ERROR  20 OutlookGoogleCalendarSync.OGCSexception [65] -     bij OutlookGoogleCalendarSync.OutlookOgcs.OutlookOld.GetAppointmentByID(String entryID, AppointmentItem& ai) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\OutlookOgcs\OutlookOld.cs:regel 425
   bij OutlookGoogleCalendarSync.Sync.Engine.Calendar.synchronize() in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Calendar.cs:regel 447
   bij 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:regel 129
2022-05-26 12:31:47,676 ERROR  20 OutlookGoogleCalendarSync.Console [283] -  De objectverwijzing is niet op een exemplaar van een object ingesteld.

Log: https://gist.github.com/RaymiiOrg/37206f893ae4d07509f4b7a2cf043af6

Tried the hotfix in #1422 but that didn’t help.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RaymiiOrgcommented, May 29, 2022

📦 Ah sorry, please try again with v2.9.5.4.zip (see instructions for applying).

fixed, initial sync and new sync now no longer report the error. thank you very much

1reaction
phw198commented, May 29, 2022

📦 Ah sorry, please try again with v2.9.5.4.zip (see instructions for applying).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object reference not set - cannot update Google item when ...
GetAppointmentByID() System.NullReferenceException (Outlook 2003) #1488. Closed. @phw198 phw198 unpinned this issue on May 8.
Read more >
Outlook 365: NullReferenceException
Hello, I'm trying to login to my office 360 account. I'm able to login but when I try to open Outlook - no...
Read more >
NullReferenceException - Outlook mail messages
This error usually occurs when using a variable with no set value (not initialized). Exception Type: NullReferenceException. System.
Read more >
Outlook 2003 only wants to start in safe mode. How can I fix ...
The computer I use is at work. On friday, I worked at home and used a remote desktop connection to access the system....
Read more >
System.NullReferenceException occurs in xaml designer
I've created a C++ UWP Windows 10 app using Visual Studio 2015. However, I'm not able to visualize any xaml in the designer...
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