mirror of
https://github.com/etesync/android
synced 2024-11-15 20:38:58 +00:00
69bf028481
This should never happen, but it has: kotlin.TypeCastException: null cannot be cast to non-null type com.etesync.syncadapter.resource.LocalContact at com.etesync.syncadapter.resource.LocalGroup$Companion.applyPendingMemberships(LocalGroup.kt:66) at com.etesync.syncadapter.syncadapter.ContactsSyncManager.postProcess(ContactsSyncManager.kt:122) at com.etesync.syncadapter.syncadapter.SyncManager.performSync(SyncManager.kt:169) at com.etesync.syncadapter.syncadapter.ContactsSyncAdapterService$ContactsSyncAdapter.onPerformSync(ContactsSyncAdapterService.kt:59) at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259) We call it at post process exactly because we want to make sure that all the members already exist. I guess a deletion on a misbehaving client (maybe even the web client?) can cause this. Potentially also with some DAV clients. Anyhow, it's better to be more defensive here. |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle | ||
lint.xml | ||
proguard-rules.txt |