@Tiberius1976 It seems that you’re affected by the problems with the version from Amazon, too. Others have this problem as well. Have a look here: https://forums.bitfire.at/topic/766/amazon-store-ical4j-exception-when-syncing-calendars
Crash in DavSyncAdapter.onPerformSync
-
davdroid crashed while browsing the contacts list.
E/AndroidRuntime( 6446): Process: at.bitfire.davdroid:sync, PID: 6446 E/AndroidRuntime( 6446): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.replaceAll(java.lang.String, java.lang.String)' on a null object reference E/AndroidRuntime( 6446): at at.bitfire.davdroid.resource.LocalAddressBook.labelToXName(LocalAddressBook.java:428) E/AndroidRuntime( 6446): at at.bitfire.davdroid.resource.LocalAddressBook.populate(LocalAddressBook.java:237) E/AndroidRuntime( 6446): at at.bitfire.davdroid.resource.LocalCollection.findByRemoteName(LocalCollection.java:146) E/AndroidRuntime( 6446): at at.bitfire.davdroid.syncadapter.SyncManager.synchronize(SyncManager.java:131) E/AndroidRuntime( 6446): at at.bitfire.davdroid.syncadapter.DavSyncAdapter.onPerformSync(DavSyncAdapter.java:70) E/AndroidRuntime( 6446): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
davdroid 0.5-alpha from f-droid.
Android 4.4.1/CM11-20131207-NIGHTLY Samsung Nexus SPlease feel free to rename this issue with a more clear description.
-
Fixed with 33b8aa8e05b9674e9cef622e7f53a8585ee4d223 by adding a null check , but this may occur again because of inconsistent data in your contact database. If this problem occurs again, please delete your DAVdroid account and add it again. If it still persists, please write here again.