[Hero, G2 Touch Android Development] buzz79:
Unable to sync contacts

Hi,

Amazing rom, nice and stable. I just found a pretty annoying bug. I am not able to sync my contacts with gmail.

When syncing I see the following exception in logcat:

D/dalvikvm( 310): GC_CONCURRENT freed 1301K, 44% free 5094K/9095K, external 2335K/2818K, paused 6ms+14ms
E/DatabaseUtils( 310): Writing exception to parcel
E/DatabaseUtils( 310): android.content.OperationApplicationException: Too many content provider operations between yield points. The maximum number of operations per yield point is 500
E/DatabaseUtils( 310): at com.android.providers.contacts.SQLiteContentProvider.applyBatch(SQLiteContentProvider.java:204)
E/DatabaseUtils( 310): at com.android.providers.contacts.ContactsProvider2.applyBatch(ContactsProvider2.java:2291)
E/DatabaseUtils( 310): at android.content.ContentProvider$Transport.applyBatch(ContentProvider.java:217)
E/DatabaseUtils( 310): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:173)
E/DatabaseUtils( 310): at android.os.Binder.execTransact(Binder.java:320)
E/DatabaseUtils( 310): at dalvik.system.NativeStart.run(Native Method)
D/ContactsSyncAdapter( 295): error applying batch, 0 yield points succeeded
D/ContactsSyncAdapter( 295): android.content.OperationApplicationException: Too many content provider operations between yield points. The maximum number of operations per yield point is 500
D/ContactsSyncAdapter( 295): at android.database.DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(DatabaseUtils.java:135)
D/ContactsSyncAdapter( 295): at android.content.ContentProviderProxy.applyBatch(ContentProviderNative.java:449)
D/ContactsSyncAdapter( 295): at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:95)
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.applyOperations(ContactsSyncAdapter.java:1072)
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.getServerDiffs(ContactsSyncAdapter.java:979)
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.innerPerformSync(ContactsSyncAdapter.java:236)
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.onPerformLoggedSync(ContactsSyncAdapter.java:137)
D/ContactsSyncAdapter( 295): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
D/ContactsSyncAdapter( 295): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164)
D/ContactsSyncAdapter( 295): getServerDiffs failed
D/ContactsSyncAdapter( 295): java.io.IOException: error while applying batch
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.applyOperations(ContactsSyncAdapter.java:1087)
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.getServerDiffs(ContactsSyncAdapter.java:979)
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.innerPerformSync(ContactsSyncAdapter.java:236)
D/ContactsSyncAdapter( 295): at com.google.android.syncadapters.contacts.ContactsSyncAdapter.onPerformLoggedSync(ContactsSyncAdapter.java:137)
D/ContactsSyncAdapter( 295): at com.google.android.common.LoggingThreadedSyncAdapter.onPerformSync(LoggingThreadedSyncAdapter.java:27)
D/ContactsSyncAdapter( 295): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:164)
D/ContactsSyncAdapter( 295): FAILURE: processed 40 records in 18573 ms from feed google dot com/m8/feeds/contacts/XXXXX add gmail dot com/base2_property-android, updated time is null
D/SyncManager( 225): failed sync operation authority: com.android.contacts account: Account {name=XXXXX add gmail dot com, type=com.google} extras: [] syncSource: 0 when: 654979 expedited: false, SyncResult: stats [ numIoExceptions: 1 numInserts: 3 numUpdates: 36 numEntries: 40]

You have any ideas how I can make this work?

Thanks

Grtz Jeroen