Contact Sync issues with Android 4.1.2 and Owncloud 6.0.1



  • Hi,

    i am using davdroid 0.5.7alpha from F-Droid with my Samsung Galaxy Xcover2 (JB 4.1.2) and Owncloud 6.0.1 Stable.
    I have two accounts with davdroid. The first account for my calender (accountname: Owncloud@Kalender) and a second account for my contacts (accountname: Owncloud@Kontakte)

    The calender sync works perfect but sync with my contacts cause an error and the davdroid process are killed..
    I have the same configuration on an other device (HTC with Android 4.0.4) and it works.

    Here are the logcat from the samsung device:
    <blockquote>
    D/19:19:10.059 davdroid.WebDavResource( 4833)
    </card:address-data><d:getetag>""</d:getetag></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response><d:response><d:href>/owncloud/remote.php/carddav/addressbooks//kontakte/24af.vcf</d:href><d:propstat><d:prop>card:address-dataBEGIN:VCARD
    D/19:19:10.059 davdroid.WebDavResource( 4833)
    VERSION:3.0
    D/19:19:10.059 davdroid.WebDavResource( 4833)
    FN:

    D/19:19:10.059 davdroid.WebDavResource( 4833)
    N:;
    ;;;
    D/19:19:10.059 davdroid.WebDavResource( 4833)
    TEL;TYPE=CELL:
    ****
    D/19:19:10.059 davdroid.WebDavResource( 4833)
    UID:2e1247b2af
    D/19:19:10.059 davdroid.WebDavResource( 4833)
    REV:2014-01-04T10:23:46+00:00
    D/19:19:10.059 davdroid.WebDavResource( 4833)
    PRODID:-//ownCloud//NONSGML …
    D/19:19:10.099 dalvikvm( 4833)
    GC_CONCURRENT freed 697K, 21% free 10142K/12743K, paused 13ms+13ms, total 57ms
    D/19:19:10.159 dalvikvm( 4833)
    GC_FOR_ALLOC freed 342K, 21% free 10067K/12743K, paused 29ms, total 29ms
    I/19:19:10.159 dalvikvm-heap( 4833)
    Grow heap (frag case) to 11.143MB for 63504-byte allocation
    D/19:19:10.189 dalvikvm( 4833)
    GC_FOR_ALLOC freed 30K, 22% free 10099K/12807K, paused 25ms, total 25ms
    I/19:19:10.189 dalvikvm-heap( 4833)
    Grow heap (frag case) to 11.165MB for 53512-byte allocation
    D/19:19:10.209 dalvikvm( 4833)
    GC_FOR_ALLOC freed 63K, 22% free 10088K/12871K, paused 23ms, total 23ms
    D/19:19:10.239 dalvikvm( 4833)
    GC_FOR_ALLOC freed 56K, 22% free 10153K/12871K, paused 21ms, total 21ms
    D/19:19:10.269 dalvikvm( 4833)
    GC_FOR_ALLOC freed 116K, 22% free 10205K/12999K, paused 21ms, total 23ms
    W/19:19:10.429 dalvikvm( 4833)
    VFY: unable to find class referenced in signature (Lorg/jsoup/nodes/Element;)
    I/19:19:10.429 dalvikvm( 4833)
    Could not find method org.jsoup.nodes.Element.getElementsByTag, referenced from method ezvcard.io.scribe.SoundScribe._parseHtml
    W/19:19:10.429 dalvikvm( 4833)
    VFY: unable to resolve virtual method 17558: Lorg/jsoup/nodes/Element;.getElementsByTag (Ljava/lang/String;)Lorg/jsoup/select/Elements;
    D/19:19:10.429 dalvikvm( 4833)
    VFY: replacing opcode 0x6e at 0x002b
    D/19:19:10.529 dalvikvm( 4833)
    GC_CONCURRENT freed 1107K, 19% free 10918K/13319K, paused 2ms+3ms, total 38ms
    D/19:19:10.529 dalvikvm( 4833)
    WAIT_FOR_CONCURRENT_GC blocked 21ms
    D/19:19:10.659 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:10.669 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:10.940 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:10.940 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:11.030 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.030 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:11.160 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.160 davdroid.LocalCollection( 4833)
    Committing 5 operations
    D/19:19:11.320 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.320 davdroid.LocalCollection( 4833)
    Committing 4 operations
    D/19:19:11.430 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.440 davdroid.LocalCollection( 4833)
    Committing 7 operations
    D/19:19:11.580 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.580 davdroid.LocalCollection( 4833)
    Committing 6 operations
    D/19:19:11.720 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.720 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:11.820 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.820 davdroid.LocalCollection( 4833)
    Committing 4 operations
    D/19:19:11.930 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:11.930 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:12.151 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:12.161 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:12.271 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:12.271 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:12.401 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:12.401 davdroid.LocalCollection( 4833)
    Committing 5 operations
    D/19:19:12.501 davdroid.SyncManager( 4833)
    Adding *************.vcf
    D/19:19:12.501 davdroid.LocalCollection( 4833)
    Committing 3 operations
    D/19:19:12.601 davdroid.SyncManager( 4833)
    Adding *************.vcf
    W/19:19:12.601 dalvikvm( 4833)
    threadid=10: thread exiting with uncaught exception (group=0x411e12a0)
    E/19:19:12.621 AndroidRuntime( 4833)
    FATAL EXCEPTION: SyncAdapterThread-1
    E/19:19:12.621 AndroidRuntime( 4833)
    java.lang.NullPointerException
    E/19:19:12.621 AndroidRuntime( 4833)
    at at.bitfire.davdroid.resource.LocalAddressBook.buildOrganization(LocalAddressBook.java:702)
    E/19:19:12.621 AndroidRuntime( 4833)
    at at.bitfire.davdroid.resource.LocalAddressBook.addDataRows(LocalAddressBook.java:536)
    E/19:19:12.621 AndroidRuntime( 4833)
    at at.bitfire.davdroid.resource.LocalCollection.add(LocalCollection.java:198)
    E/19:19:12.621 AndroidRuntime( 4833)
    at at.bitfire.davdroid.syncadapter.SyncManager.pullNew(SyncManager.java:185)
    E/19:19:12.621 AndroidRuntime( 4833)
    at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:88)
    E/19:19:12.621 AndroidRuntime( 4833)
    at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:71)
    E/19:19:12.621 AndroidRuntime( 4833)
    at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:254)
    I/19:19:20.889 Process ( 4833)
    Sending signal. PID: 4833 SIG: 9
    I/19:19:20.919 ActivityManager( 2022)
    Process at.bitfire.davdroid:sync (pid 4833) has died.
    </blockquote>


  • developer

    Duplicate of #163, already fixed. Fix will be included in next release.


Log in to reply
 

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