BlackBerry Desktop Software fails while synchronizing the calendar with "A program error occurred at line 131"

Article ID: KB32032

Type: Support Content

Last Modified: 10-21-2014

 

Product(s) Affected:

  • Desktop Software (Windows)
CollapseEnvironment
  • BlackBerry Desktop Software for BlackBerry 7.1 and earlier
  • Microsoft Outlook
  • JI 363773
  • DT 5176464
CollapseOverview

When attempting to synchronize recurring appointments of a specific pattern, the sync may fail with an error message in BlackBerry Desktop Software with the following error:

A program error occurred at line 131 in .\Error.cpp. Please report this error by sending a log to technical support.

CollapseCause

The recurrence pattern for one or more calendar appointments in Microsoft Outlook has a formatting similar to "FREQ=MONTHLY;BYDAY=1SU;WKST=SU" or the recurrence pattern is blank. This can be observed by changing the view in the Microsoft Outlook 2007 calendar current view to Recurring Appointments. In Microsoft Outlook 2010 use List View.

The SyncLog.html file will display one of the following log lines:

15:20:53.652 Enter COlAccess::GetRecurrencePattern
15:20:53.652 COlAccess::CAppointmentItemAccess::AddExceptionsToRecurObj : Caught _com_error exception. Description(): Error in IAttach.OpenProperty(PR_ATTACH_DATA_OBJ): MAPI_E_NOT_FOUND; Error(): -2147221233 (0x8004010F); ErrorMessage(): Unknown error 0x8004010F; Source(): XCPCRdmptn.RDOException
15:20:53.652 CRSyncUtil::GetTranslator : FeedProfileShim2Trans (Loaded Trans) Outlook
15:20:53.652 CRSyncUtil::FeedProfileShim2Trans : returns 0
15:20:53.652 CRSyncUtil::LogFatalTransError : 'GetRecurringRecord()' API of 'MSOl' translator for 'Calendar' application returned empty error

or

09:15:24.378 Enter COlAccess::GetRecurrencePattern
09:15:24.378 COlAccess::GetRecurrencePattern - spRecurrencePattern->RecurrenceType call failed. : Caught _com_error exception. Description(): The item does not recur; Error(): -2147418113 (0x8000FFFF); ErrorMessage(): Catastrophic failure; Source(): XCPCRdmptn.RDORecurrencePattern
09:15:24.378 CRSyncUtil::GetTranslator : FeedProfileShim2Trans (Loaded Trans) Outlook
09:15:24.378 CRSyncUtil::FeedProfileShim2Trans : returns 0
09:15:24.378 CRSyncUtil::LogFatalTransError : 'GetRecurringRecord()' API of 'MSOl' translator for 'Calendar' application returned empty error

CollapseResolution
This issue is under investigation. A resolution is currently unavailable.
CollapseWorkaround

Remove the recurring monthly appointments from Microsoft Outlook, then perform a sync with the BlackBerry smartphone to bring them back into Microsoft Outlook.

Warning: System/database changes could potentially result in irreparable damage. Prior to making any system/database changes it is recommended to perform a system/database backup.

Note: These steps assume that the BlackBerry smartphone had previously been synchronized with Microsoft Outlook.

Outlook 2010:

  1. Backup the Microsoft Outlook .pst file.
  2. Change the Calendar view in Microsoft Outlook, click the view tab, change the view to List, sort by Recurring Appointments.
  3. Delete all appointments with a Recurrence Pattern similar to "FREQ=MONTHLY;BYDAY=1SU;WKST=SU" or where the Recurrence Pattern is blank.
  4. Reset the sync settings in Desktop Software and reconfigure them.
  5. Perform a two-way sync of the calendar with the BlackBerry smartphone.

Outlook 2007:

  1. Backup the Microsoft Outlook .pst file.
  2. Change the Calendar view in Microsoft Outlook. Click View > Current View > Recurring Appointments.
  3. Delete all appointments with a Recurrence Pattern similar to "FREQ=MONTHLY;BYDAY=1SU;WKST=SU" or where the Recurrence Pattern is blank.
  4. Reset the sync settings in Desktop Software and reconfigure them.
  5. Perform a two-way sync of the calendar with the BlackBerry smartphone.

Any previously synced recurring appointments will sync back to Microsoft Outlook. The Recurrence Pattern will display in a standard format and future syncs will proceed without error.

CollapseAdditional Information
If the Recurrence Pattern of Calendar appointments do not match the cause detailed in this article, please contact BlackBerry Technical support for further assistance.

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.