Assigning group members: too many content provider operations between yield points


  • i18n

    2016-07-12 23:26:19 6 [syncadapter.SyncManager] Couldn't access local storage
    EXCEPTION at.bitfire.vcard4android.ContactsStorageException: Couldn't apply batch operation
    	at at.bitfire.vcard4android.BatchOperation.commit(BatchOperation.java:53)
    	at at.bitfire.davdroid.resource.LocalGroup.applyPendingMemberships(LocalGroup.java:187)
    	at at.bitfire.davdroid.syncadapter.ContactsSyncManager.postProcess(ContactsSyncManager.java:374)
    	at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:175)
    	at at.bitfire.davdroid.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.java:66)
    	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    Caused by: android.content.OperationApplicationException: Too many content provider operations between yield points. The maximum number of operations per yield point is 500
    	at android.database.DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(DatabaseUtils.java:158)
    	at android.content.ContentProviderProxy.applyBatch(ContentProviderNative.java:520)
    	at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:377)
    	at at.bitfire.vcard4android.BatchOperation.commit(BatchOperation.java:44)
    	... 5 more
    

    I am on Huawei Android 5.x, and I don't know this is a system bug or something else. If you need vervose logs, here it is.


  • developer

    Please provide debug info.

    What DAVdroid version is that?


  • i18n

    This post is deleted!

  • i18n

    @rfc2822 Sorry I almost forgot...

    SOFTWARE INFORMATION
    DAVdroid version: 1.1.1 (104) Wed Jun 22 14:34:09 GMT+08:00 2016
    Installed from: APK (directly)
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: manually
    Account: my-account@example.com
      Address book sync. interval: manually
      Calendar     sync. interval: manually
      OpenTasks    sync. interval: —
    
    SQLITE DUMP
    android_metadata
    	|  locale |
    	|  zh_CN |
    ----------
    settings
    	|  setting | value |
    	|  hint_OpenTasksNotInstalled | 0 |
    	|  logToExternalStorage | 0 |
    ----------
    services
    	|  _id | accountName | service | principal |
    	|  3 | ... | carddav | https://contacts.icloud.com/.../principal/ |
    	|  4 | ... | caldav | https://p08-caldav.icloud.com/.../principal/ |
    ----------
    sqlite_sequence
    	|  name | seq |
    	|  services | 4 |
    	|  homesets | 4 |
    	|  collections | 10 |
    ----------
    homesets
    	|  _id | serviceID | url |
    	|  3 | 4 | https://p08-caldav.icloud.com/.../calendars/ |
    	|  4 | 3 | https://p08-contacts.icloud.com/.../carddavhome/ |
    ----------
    collections
    	|  _id | serviceID | url | readOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | sync |
    	|  6 | 4 | https://p08-caldav.icloud.com/.../calendars/62477711-D25A-4619-A30A-EB6042F4F48D/ | 0 | 日历 | <null> | -14963208 | <null> | 1 | 0 | 1 |
    	|  7 | 4 | https://p08-caldav.icloud.com/.../calendars/work/ | 0 | 旅游 | <null> | -12278013 | <null> | 1 | 0 | 1 |
    	|  8 | 4 | https://p08-caldav.icloud.com/.../calendars/tasks/ | 0 | Reminders | <null> | -4649432 | <null> | 0 | 1 | 1 |
    	|  9 | 4 | https://p08-caldav.icloud.com/.../calendars/home/ | 0 | Home | <null> | -635136 | <null> | 1 | 0 | 1 |
    	|  10 | 3 | https://p08-contacts.icloud.com/.../carddavhome/card/ | 0 | <null> | <null> | <null> | <null> | <null> | <null> | 1 |
    ----------
    
    SYSTEM INFORMATION
    Android version: 5.1.1 (P7-L09C92B851)
    Device: HUAWEI HUAWEI P7-L09 (hwp7)
    

  • developer

    This has already been fixed in version 1.1.1.1. The current version is 1.2. Please always try the latest version before reporting a bug.


  • i18n

    @rfc2822 Sorry for not checking the latest. It works well on the latest version 😁


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.