Error on contact entry download



  • When I try to sync my phone with my owncloud server I get the following error entry. Can somebody help:

    SYNCHRONIZATION INFO
    Synchronization phase: 9
    Account name: aymeric
    Authority: com.android.contacts
    
    STACK TRACE:
    android.database.sqlite.SQLiteException
    	at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:181)
    	at android.database.DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(DatabaseUtils.java:160)
    	at android.content.ContentProviderProxy.applyBatch(ContentProviderNative.java:512)
    	at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:377)
    	at at.bitfire.vcard4android.BatchOperation.commit(BatchOperation.java:45)
    	at at.bitfire.vcard4android.AndroidContact.add(AndroidContact.java:604)
    	at at.bitfire.davdroid.syncadapter.ContactsSyncManager.processVCard(ContactsSyncManager.java:249)
    	at at.bitfire.davdroid.syncadapter.ContactsSyncManager.downloadRemote(ContactsSyncManager.java:200)
    	at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:182)
    	at at.bitfire.davdroid.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.java:52)
    	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    
    SOFTWARE INFORMATION
    DAVdroid version: 0.9.1.2 (86) Fri Dec 18 23:23:17 GMT+00:00 2015
    Installed from: org.fdroid.fdroid
    JB Workaround installed: no
    
    CONFIGURATION
    System-wide synchronization: automatically
    Account: aymeric caldav
      Address book sync. interval: —
      Calendar     sync. interval: 1440 min
      OpenTasks    sync. interval: —
    Account: aymeric
      Address book sync. interval: 5 min
      Calendar     sync. interval: —
      OpenTasks    sync. interval: —
    
    SYSTEM INFORMATION
    Android version: 4.4.2 (KOT49H.I9192XXUCOA1)
    Device: Samsung GT-I9192 (serranods)
    

  • developer

    Hello,

    Please provide steps to reproduce and logs.



  • Hello together,

    i have the same Problem.
    I am using a private NAS (Synology). The calendar-sync works fine (over https, with a self-signed certificate).
    When i want to sync my contacts, also per https, then i get the same error:

    SYNCHRONIZATION INFO
    Synchronization phase: 9
    Account name: synoKontakte
    Authority: com.android.contacts
    
    STACK TRACE:
    android.database.sqlite.SQLiteException
            at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:181)
            at android.database.DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(DatabaseUtils.java:160)
            at android.content.ContentProviderProxy.applyBatch(ContentProviderNative.java:512)
            at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:377)
            at at.bitfire.vcard4android.BatchOperation.commit(BatchOperation.java:45)
            at at.bitfire.vcard4android.AndroidContact.add(AndroidContact.java:604)
            at at.bitfire.davdroid.syncadapter.ContactsSyncManager.processVCard(ContactsSyncManager.java:249)
            at at.bitfire.davdroid.syncadapter.ContactsSyncManager.downloadRemote(ContactsSyncManager.java:200)
            at at.bitfire.davdroid.syncadapter.SyncManager.performSync(SyncManager.java:182)
            at at.bitfire.davdroid.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.java:52)
            at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    
    SOFTWARE INFORMATION
    DAVdroid version: 0.9.1.3 (87) Sat Jan 02 11:24:54 MEZ 2016
    Installed from: com.android.vending
    JB Workaround installed: yes
    
    CONFIGURATION
    System-wide synchronization: automatically
    Account: synoKontakte
     Address book sync. interval: 1440 min
     Calendar     sync. interval: —
     OpenTasks    sync. interval: —
    
    SYSTEM INFORMATION
    Android version: 4.4.2 (KOT49H.I9195XXUCOI4)
    Device: Samsung GT-I9195 (serranolte)
    

  • developer

    @crisch Hello,

    Unfortunately, we were never able to reproduce this problem, nor do I have an idea what the cause could be. I assume it's related to the Samsung firmware (as you can see, both devices are Samsung GT-I91*) which does something different than the default Android Contacts provider. Because Samsung's firmware isn't open source, there's no reliable way to confirm that or find a workaround. The only thing that I can suggest is to use an open-source firmware (AOSP, CyanogenMod etc.)


Log in to reply
 

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