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.

Appointment update failed. Object reference not set to an instance of an object.

See original GitHub issue

OGCS Version: v2.8.0.0 Installed or Portable: Installed Outlook: 2016

Outlook ← Google

0 Outlook calendar entries to be deleted.
0 Outlook calendar entries to be created.
4 calendar entries to be compared.
Comparing 4 existing Outlook calendar entries

Appointment update failed.
Object reference not set to an instance of an object.
0 entries updated.

Bug Description
I sync from Google To Outlook. (Outlook ← Google)

My Google account have access to another calendar but only in “See Busy/Free” mode. So all events in that calendar displayed with empty Title and empty Description.

When I sync that calendar (empty titles and descriptions) to Outlook for the First Time - everything is fine. However if in the parent calendar anything was updated in that event (time or title or description). Next sync will cause Null reference exception.

Steps to Reproduce the Issue

  1. Create Home Google Account with Home Calendar in it
  2. Create Work Google Account
  3. Share Home Calendar with Work Google Account with “See Busy/Free only” permissions
  4. Configure Synchronization to outlook from Work Google Account - selecting Home Calendar.
  5. Create event in Home Google Account/Home calendar - put any description
  6. Synchronize and make sure event is imported to outlook with Empty Title and Description - sync should complete successfully
  7. Change anything in Home Google Account/Home Calendar (title or time or description)
  8. Sync again, and you will see error:
Appointment update failed.
Object reference not set to an instance of an object.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
phw198commented, Sep 24, 2019

Scratch that, I’ve been able to replicate the issue on v2.8.1 too.

0reactions
phw198commented, Feb 12, 2021

@Rosmaninho not sure what you mean by “an update”. When an Outlook appointment is updated by OGCS? The error message in the subject of this issue is very generic and it’s a rather old issue, so I doubt you do have exactly the same problem.

Please raise a new issue if necessary.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Object reference not set to an instance of an object error
Cause. The hybrid object is missing from the Active Directory domain. For example, this can occur if the object was deleted.
Read more >
Fix: "Object Reference Not Set to an Instance of ...
The problem "Object reference not set to an instance of an object" is a common Windows error caused by a Microsoft Visual Studio...
Read more >
EWS Management API - Object reference not set to an ...
I'm trying to create appointment with EWS Management API. ExchangeService service = new ExchangeService(); service. Url = new Uri(url); service.
Read more >
Object reference not set to an instance of an object
I was success in adding appointments to the database in SQL but now I am getting the below error. I have two custom...
Read more >
Object reference not set to an instance of an ...
After installing the 15.8.0 update for Visual Studio 2017 I receive an 'Object reference not set to an instance of an object.
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