Crash (NPE) on calendar sync



  • Davdroid consistently crashes on one of my phones during calendar synchronisation. I already tried removing the account completely and readding it, and while the initial sync always completes without any problems, the same error resurfaces soon enough - if I remember correctly even if there haven't been any calendar changes meanwhile.

    Server backend is Owncloud 5; if there is anything I can do to aid debugging, please let me know.

    D/davdroid.WebDavResource( 8600): Processing multi-status element: https://owncloud/remote.php/caldav/calendars/user2/defaultcalendar_shared_by_user/b7319c9f-6489-46bf-b74b-291ea9139113.ics
    D/davdroid.WebDavResource( 8600): Processing multi-status element: https://owncloud/remote.php/caldav/calendars/user2/defaultcalendar_shared_by_user/95b294ee-1d86-4687-b306-7c7e68eef7b1.ics
    D/davdroid.WebDavResource( 8600): Processing multi-status element: https://owncloud/remote.php/caldav/calendars/user2/defaultcalendar_shared_by_user/owncloud-d07efb5cd68e83c13810b5544d425b13.ics
    D/davdroid.WebDavResource( 8600): <?xml version="1.0" encoding="utf-8"?>
    D/davdroid.WebDavResource( 8600): <d:multistatus xmlns:d="DAV:" xmlns:s="https://sabredav.org/ns" xmlns:cal="urn:ietf:params:xml:ns:caldav" xmlns:cs="https://calendarserver.org/ns/"><d:response><d:href>/remote.php/caldav/calendars/user2/defaultcalendar_shared_by_user/</d:href><d:propstat><d:prop><cs:getctag>876</cs:getctag></d:prop><d:status>https/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><d:getetag/></d:prop><d:status>https/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/caldav/calendars/user2/defaultcalendar_shared_by_user/owncloud-c8717e26b7104d52cd8dca1f88a30e50.ics</d:href><d:propstat><d:prop><d:getetag>"d39328f2515e4137aa0f9eb526ffcdbb"</d:getetag></d:prop><d:status>https/1.1 200 OK</d:status></d:propstat><d:propstat><d:prop><cs:getctag/></d:prop><d:status>https/1.1 404 Not Found</d:status></d:propstat></d:response><d:response><d:href>/remote.php/caldav/calendars/user2/defaultcalendar_shared_by_user/owncloud-1f9095b8d8df75ac87c21fc8032e3…
    W/dalvikvm( 8600): threadid=10: thread exiting with uncaught exception (group=0x4155cba8)
    E/AndroidRuntime( 8600): FATAL EXCEPTION: SyncAdapterThread-1
    E/AndroidRuntime( 8600): Process: at.bitfire.davdroid:sync, PID: 8600
    E/AndroidRuntime( 8600): java.lang.NullPointerException
    E/AndroidRuntime( 8600): 	at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:74)
    E/AndroidRuntime( 8600): 	at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:71)
    E/AndroidRuntime( 8600): 	at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
    


  • Just tried again with today's latest release (and Owncloud 6.0.1) and all looks well now.


Log in to reply
 

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