Crash when syncing contacts

  • I’m getting the following crash whenever I try to sync contacts:

    E/AndroidRuntime( 7957): FATAL EXCEPTION: SyncAdapterThread-1
    E/AndroidRuntime( 7957): Process: at.bitfire.davdroid:sync, PID: 7957
    E/AndroidRuntime( 7957): java.lang.NullPointerException: Attempt to invoke virtual method ‘int java.lang.Integer.intValue()’ on a null object reference
    E/AndroidRuntime( 7957): at at.bitfire.davdroid.resource.LocalAddressBook.populateIMPP(
    E/AndroidRuntime( 7957): at at.bitfire.davdroid.resource.LocalAddressBook.populate(
    E/AndroidRuntime( 7957): at at.bitfire.davdroid.resource.LocalCollection.findById(
    E/AndroidRuntime( 7957): at at.bitfire.davdroid.syncadapter.SyncManager.pushDirty(
    E/AndroidRuntime( 7957): at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(
    E/AndroidRuntime( 7957): at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(
    E/AndroidRuntime( 7957): at android.content.AbstractThreadedSyncAdapter$

    Please let me know if (and how) I can provide more useful information.

  • developer

    This seems to be for an old DAVdroid version. Which version do you use?

  • I just updated to 0.8.4 this morning. The crash report is from after the update but I was already experiencing crashes before.

    On August 26, 2015 3:20:18 PM GMT+02:00, rfc2822 wrote:

    This seems to be for an old DAVdroid version. Which version do you use?

    Reply to this email directly or view it on GitHub:

  • developer

    Are you sure that the crash report is from after the update? The line numbers don’t seem to match to 0.8.4, and this bug should have been fixed.

    Can you please uninstall DAVdroid, re-install 0.8.4 and then try again?

    If the problem persists, it’s a problem with an IMPP line. Then please provide verbose logs and the VCard where the issue occurs.

  • This is weird: reinstalling DAVdroid didn’t help but removing en re-adding the offending sync account did. Everything seems to be working OK now!

Similar topics