Cannot add internet calendar (System.IndexOutOfRangeException)

Hey there,

I am trying to subscribe to a .ics calendar (Werder Bremen from the Bundesliga) which is unable to sync:

23:10:10 Internet Calendars [Web Calendar]  Synchronisiere Ordner ‘Internet-Kalender/Werder Bremen/’
23:10:10 Internet Calendars [Web Calendar]  MailClient.Accounts.ConnectionException: Der Index war außerhalb des Arraybereichs. —> System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
23:10:10    bei VObject.CalendarReader.LoadTextValues(String encodedValue, Nullable1 separator) 23:10:10    bei VObject.CalendarReader.LoadValues(ValueType type, Encoding encoding, Nullable1 separator)
23:10:10    bei VObject.CalendarReader.LoadProperty(String line)
23:10:10    bei VObject.CalendarReader.LoadFromReader(Calendar calendar)
23:10:10    bei VObject.CalendarReader.LoadCalendar(Calendar calendar)
23:10:10    bei VObject.Calendar…ctor(TextReader reader)
23:10:10    bei MailClient.Protocols.WebCal.WebCalCalendarSynchronizer.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken) 23:10:10&nbsp;&nbsp;&nbsp; bei MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass28_0.b__1(WorkerStatus status, CancellationToken cancellationToken)
23:10:10 bei MailClient.Protocols.WebCal.WebCalGenericCommand.Execute(WorkerStatus status)
23:10:10 — Ende der internen Ausnahmestapelüberwachung —
23:10:10 bei MailClient.Protocols.WebCal.WebCalGenericCommand.Execute(WorkerStatus status)
23:10:10 bei MailClient.Commands.Command.Process(WorkerStatus status)

The link to the .ics is: https://www.google.com/calendar/ical/69n0ss9p1mj45m0kls3dvpm570%40group.calendar.google.com/public/b… and em-client is able to import the .ics as a local source. The web URL however can not be parsed correctly.

Is there anything I can do about it? The same link is working great for Outlook and Google so nothing seems to be deadly wrong about the calendar file itself…

Thank you very much and kind regards
Christian

Hello Christian,
please try this version and let me know if the issue has been resolved: http://www.emclient.com/dist/v7.0.27804/setup.msi

Regards,
Olivia

Hello Olivia,

thank you for our reply.
Unfortunately it is not fixed in this version:

18:11:27 Internet Calendars [Web Calendar]  Synchronisiere Ordner ‘Internet-Kalender/https://www.google.com/calendar/ical/69n0ss9p1mj45m0kls3dvpm570@group.calendar.google.com/public/bas…
18:11:27 Internet Calendars [Web Calendar]  MailClient.Accounts.ConnectionException: Der Index war außerhalb des Arraybereichs. —> System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs.
18:11:27    bei VObject.CalendarReader.LoadTextValues(String encodedValue, Nullable1 separator) 18:11:27&nbsp;&nbsp;&nbsp; bei VObject.CalendarReader.LoadValues(ValueType type, Encoding encoding, Nullable1 separator)
18:11:27    bei VObject.CalendarReader.LoadProperty(String line)
18:11:27    bei VObject.CalendarReader.LoadFromReader(Calendar calendar)
18:11:27    bei VObject.CalendarReader.LoadCalendar(Calendar calendar)
18:11:27    bei VObject.Calendar…ctor(TextReader reader)
18:11:27    bei MailClient.Protocols.WebCal.WebCalCalendarSynchronizer.Synchronize(IItemSynchronizeContext1 synchronizeContext, Folder folder, CancellationToken cancellationToken) 18:11:27&nbsp;&nbsp;&nbsp; bei MailClient.Protocols.Common.ItemSynchronizer2.<>c__DisplayClass28_0.b__1(WorkerStatus status, CancellationToken cancellationToken)
18:11:27 bei MailClient.Protocols.WebCal.WebCalGenericCommand.Execute(WorkerStatus status)
18:11:27 — Ende der internen Ausnahmestapelüberwachung —
18:11:27 bei MailClient.Protocols.WebCal.WebCalGenericCommand.Execute(WorkerStatus status)
18:11:27 bei MailClient.Commands.Command.Process(WorkerStatus status)

Kind regards
Christian

Hello Christian,
we replicated the issue again as well and found out what the issue was - the error pops up when there is an unfinished match.
We are working on a workaround for this issue and the fix should be in one of the nearest updates.
Sorry for the inconvenience.

Regards,
Olivia

Hi Olivia,

thank you very much, looking forward to the new version!

Kind regards
Christian

With version 7.0.27920.0 everything is working great now.

Thank you very much!

Hello Christian,
thank you for following up, great to hear the update resolved the issue for you.

Regards,
Olivia