Versions / Builds Affected20131111
Problem SummaryError: 'error: Failed to parse stream. startIndex 不可以大於字串的長度' when archiving Calender items (e.g. from a Chinese system)
TT / JIRAID1854
How to IdentifyThe Archive Assistant is running on a system running a uni-code language like Chinese.
When it processes calender items it creates the ical-file incorrectly.
Then the server's Store service is trying to process such a problematic item the following error is logged in Store/Debuglogs/calendar.log:
2014-01-02,21:12:29,326,1,"#00000828","#000000D7","error ","Calendar","error: Failed to parse file [C:\Program Files (x86)\GFI\MailArchiver\Core\9632c435-adb6-4dfe-ac06-d81c9ea054c0.ical]. ParseFailed"
2014-01-02,21:13:59,611,1,"#00000828","#0000005A","info ","Calendar","Loading and parsing [C:\Program Files (x86)\GFI\MailArchiver\Core\9632c435-adb6-4dfe-ac06-d81c9ea054c0.ical]."
2014-01-02,21:13:59,611,1,"#00000828","#0000005A","error ","Calendar","error: Failed to parse stream. startIndex 不可以大於字串的長度。
When opening the ical-file in notepad.exe you find that the organizer line is corrupt. In the example below you see that there is not closing double quotation surrounding the name:
How it should look like:
Eventually, such an item will not get archived and gets stuck in Core/Queue.
Workaround / Fix DetailsFixed in MARC2014 build 20140616
Required ActionsUpgrade to MARC2014 build 20140616 or newer (incl. the Archive Assistant)