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.

Unable To Add New Entries

See original GitHub issue

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

Bug Description

Fresh, first-time install of OGCS on W11, Outlook v2304. A few events do get logged to Google before it fails.

2023-05-24 19:37:14,974 ERROR  16 OutlookGoogleCalendarSync.Console [292] -  Unable to add new entries into the Google Calendar.
2023-05-24 19:37:14,975 ERROR  16 OutlookGoogleCalendarSync.Console [292] -  Object reference not set to an instance of an object.
2023-05-24 19:37:15,094 ERROR  16 OutlookGoogleCalendarSync.OGCSexception [28] -  System.NullReferenceException: Object reference not set to an instance of an object.
2023-05-24 19:37:15,095 ERROR  16 OutlookGoogleCalendarSync.OGCSexception [21] -  Code: 0x80004003,-2147467261; Location: CreateGoogleExceptions() in Recurrence.cs:635:49
2023-05-24 19:37:15,095 ERROR  16 OutlookGoogleCalendarSync.OGCSexception [65] -     at OutlookGoogleCalendarSync.Recurrence.CreateGoogleExceptions(AppointmentItem ai, String recurringEventId) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Recurrence.cs:line 635
   at OutlookGoogleCalendarSync.GoogleOgcs.Calendar.CreateCalendarEntries(List`1 appointments) in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\GoogleOgcs\GoogleCalendar.cs:line 398
   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 593
   at OutlookGoogleCalendarSync.Sync.Engine.Calendar.synchronize() in C:\Users\Paul\Git\OutlookGoogleCalendarSync\src\OutlookGoogleCalendarSync\Sync\Calendar.cs:line 493
   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 129
2023-05-24 19:37:15,095 ERROR  16 OutlookGoogleCalendarSync.Console [292] -  Object reference not set to an instance of an object.
2023-05-24 19:37:15,219 DEBUG  1 System.Windows.Forms.OgcsMessageBox [72] -  Sync Failed: The synchronisation failed - check the Sync tab for further details.
Do you want to try again?
2023-05-24 19:37:15,248 INFO  1 OutlookGoogleCalendarSync.Forms.Main [963] -  Application window restored.
2023-05-24 19:37:22,322 DEBUG  1 System.Windows.Forms.OgcsMessageBox [87] -  Response: No
2023-05-24 19:37:22,323 INFO  1 OutlookGoogleCalendarSync.Sync.Engine+Calendar [97] -  User opted to abandon further syncs.
2023-05-24 19:37:22,323 ERROR  1 OutlookGoogleCalendarSync.Console [292] -  Sync aborted after 1 failed attempts!

Steps to Reproduce the Issue

Install and sync

Any other information

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ptiseo-epcommented, Jun 1, 2023
  1. Yes, I did somehow forget one line at the start that was WARNing about duplicates. Sorry.
  2. The hotfix fixed the hot for me too. I got full sync. 😃
1reaction
cinzascommented, May 29, 2023

Hi @phw198, I can confirm. It solved the sync problem. At least for me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

I can't insert new rows
I can't insert new rows · Go to the next clear row after the bottom of your actual data that you want to...
Read more >
3254099 - Unable to add new entries in the configuration ...
when the configuration environment is based on SAP Central Business Configuration. The button "New Entries" is missing.
Read more >
Why Can't Insert Row in Excel – Simple Ways to Get it ...
Why Excel Doesn't Let You Insert a Row? · Open the Excel workbook. · Click on the File menu. · Choose the More...
Read more >
Unable to add new entries into the Google Calendar. ...
Unable to add new entries into the Google Calendar. Google.Apis.Requests.RequestError - Precondition Failed [412] #672.
Read more >
Unable to add new record to table
I can't add a new record, regardless of how I try to approach it. There are 2017 records in the table. Is there...
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