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

Synchronizing Tasks with google fails #280

Closed
Znrl opened this issue Jul 2, 2020 · 3 comments
Closed

Synchronizing Tasks with google fails #280

Znrl opened this issue Jul 2, 2020 · 3 comments

Comments

@Znrl
Copy link

Znrl commented Jul 2, 2020

It's a fresh install of Outlook CalDav Synchronizer 3.8.2
With Outlook 365, I updadet it just before installing
On Windows 10
Syncing with google

Synchronizing the calendar seems to work.

But for Tasks I get:

<SynchronizationReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ProfileName>Aufgaben - some-name</ProfileName>
  <ProfileId>52b9c95c-b854-491c-894a-d3df9fb69e47</ProfileId>
  <StartTime>2020-07-02T18:48:08.778467Z</StartTime>
  <LoadErrors />
  <EntitySynchronizationReports />
  <ExceptionThatLeadToAbortion>System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei CalDavSynchronizer.Implementation.GoogleTasks.GoogleTaskRepository.&lt;GetAllVersions&gt;d__7.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei GenSync.EntityRepositories.VersionAwareToStateAwareEntityRepositoryAdapter`4.&lt;GetFullRepositoryState&gt;d__5.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   bei GenSync.Synchronization.Synchronizer`11.&lt;Synchronize&gt;d__27.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei GenSync.Synchronization.NullContextSynchronizerDecorator`6.&lt;Synchronize&gt;d__2.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei CalDavSynchronizer.Scheduling.SynchronizationProfileRunner.&lt;RunAndRescheduleNoThrow&gt;d__22.MoveNext()</ExceptionThatLeadToAbortion>
  <ConsiderExceptionThatLeadToAbortionAsWarning>false</ConsiderExceptionThatLeadToAbortionAsWarning>
  <Duration>00:00:00.9574403</Duration>
</SynchronizationReport>

Any Idea what I could try?

@Znrl
Copy link
Author

Znrl commented Sep 23, 2020

To add a little bit...
I think this happens when there are no tasks (in Google?).
I did not receive an error now when I added a test task.
There where no tasks in Outlook and no in Google when I tried this.

So maybe there needs to be some other way to handle "no tasks" than to have an error.

@aluxnimm
Copy link
Owner

Yes we identified the bug and will update google task api library in the next release.

Duplicate of
https://sourceforge.net/p/outlookcaldavsynchronizer/tickets/1377/

@aluxnimm
Copy link
Owner

aluxnimm commented Dec 2, 2020

fixed in 4.0.0

@aluxnimm aluxnimm closed this as completed Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants