Synchronisation error contact Davdroid / OwnCloud PREF value

  • Hi,

    I can synchronize Tasks and Agenda with davdroid but it’s impossible for contacts.
    When davdroid try to synchronize my contacts on android, I have this debug code:

    Synchronization phase: 9
    Account name: 
    java.lang.IllegalStateException: [Error 15] PREF parameter value is malformed and could not be parsed. Retrieve its raw text values instead by calling property.getParameters().get("PREF").
    at ezvcard.parameter.VCardParameters.getPref(
    at at.bitfire.vcard4android.AndroidContact.insertPhoneNumber(
    at at.bitfire.vcard4android.AndroidContact.insertDataRows(
    at at.bitfire.vcard4android.AndroidContact.add(
    at at.bitfire.davdroid.syncadapter.ContactsSyncManager.processVCard(
    at at.bitfire.davdroid.syncadapter.ContactsSyncManager.downloadRemote(
    at at.bitfire.davdroid.syncadapter.SyncManager.performSync(
    at at.bitfire.davdroid.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(
    at android.content.AbstractThreadedSyncAdapter$
    Caused by: java.lang.NumberFormatException: Invalid int: ""
    at java.lang.Integer.invalidInt(
    at java.lang.Integer.parseInt(
    at java.lang.Integer.parseInt(
    at java.lang.Integer.valueOf(
    at ezvcard.parameter.VCardParameters.getPref(
    ... 10 more
    Android version: 6.0.1 (MOB30J release-keys)
    Device: OnePlus ONE A2003 (OnePlus2)

    My Davdroid version is and I try to desactivate “Use RFC6868 for VCards”… but nothing better!I have same problem with Davdroid With android app “CALDAV Free” I haven’t error during synchro

    I don’t understand where is the problem. Can you help me please.

  • developer

    It seems that your VCard is invalid and contains an unparsaeble PREF parameter.

    To see what’s wrong with the VCard, please fetch verbose logs and post them here (see especially last section about verbose logs).

  • developer

Similar topics

  • 2
  • 7
  • 2