Skip to content

[DmfsTaskBuilder] LocalDateTime cannot be cast to Instant #423

@sunkup

Description

@sunkup

j$.time.LocalDateTime cannot be cast to j$.time.Instant

Reported in: bitfireAT/davx5-ose#2240

Full Exception
java.lang.ClassCastException: j$.time.LocalDateTime cannot be cast to j$.time.Instant
	at at.bitfire.synctools.mapping.tasks.DmfsTaskBuilder.buildTask(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:352)
	at at.bitfire.synctools.mapping.tasks.DmfsTaskBuilder.updateRows(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:28)
	at at.bitfire.synctools.storage.tasks.DmfsTask.update(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:75)
	at at.bitfire.davdroid.resource.LocalTask.update(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:6)
	at at.bitfire.davdroid.sync.TasksSyncManager.processVTodo$lambda$0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:23)
	at at.bitfire.davdroid.sync.TasksSyncManager.$r8$lambda$EFeX6roViMAe6XzuVH0zBQ3SHlY(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.JtxSyncManager$$ExternalSyntheticLambda3.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:26)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithLocalResource$1.invokeSuspend$suspendConversion0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithLocalResource$1.access$invokeSuspend$suspendConversion0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithLocalResource$1$1.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:5)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithLocalResource$1$1.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:10)
	at at.bitfire.davdroid.sync.SyncException$Companion.wrapWithLocalResourceSuspending(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:66)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithLocalResource$1.invokeSuspend(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:35)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:8)
	at kotlinx.coroutines.DispatchedTask.run(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:114)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:19)
	at kotlinx.coroutines.JobKt.runBlockingK(Unknown Source:93)
	at at.bitfire.davdroid.sync.SyncException$Companion.wrapWithLocalResource(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:12)
	at at.bitfire.davdroid.sync.TasksSyncManager.processVTodo(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:45)
	at at.bitfire.davdroid.sync.TasksSyncManager.access$processVTodo(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.invokeSuspend$lambda$0$0$0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:94)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.$r8$lambda$kNnXw0Fk-AXatAZ_3IHn5rsBZlw(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.SyncManager$$ExternalSyntheticLambda1.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:32)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithRemoteResource$1.invokeSuspend$suspendConversion0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithRemoteResource$1.access$invokeSuspend$suspendConversion0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithRemoteResource$1$1.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:5)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithRemoteResource$1$1.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:10)
	at at.bitfire.davdroid.sync.SyncException$Companion.wrapWithRemoteResourceSuspending(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:66)
	at at.bitfire.davdroid.sync.SyncException$Companion$wrapWithRemoteResource$1.invokeSuspend(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:35)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:8)
	at kotlinx.coroutines.DispatchedTask.run(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:114)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:19)
	at kotlinx.coroutines.JobKt.runBlockingK(Unknown Source:93)
	at at.bitfire.davdroid.sync.SyncException$Companion.wrapWithRemoteResource(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:12)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.invokeSuspend$lambda$0$0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:14)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.$r8$lambda$yemH6W8y8-pp8MnfyUcUZ_fPsVA(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.JtxSyncManager$downloadRemote$2$$ExternalSyntheticLambda2.onResponse(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:10)
	at at.bitfire.dav4jvm.okhttp.Response$Companion.parse(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:308)
	at at.bitfire.dav4jvm.okhttp.DavResource.processMultiStatus$parseMultiStatus(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:53)
	at at.bitfire.dav4jvm.okhttp.DavResource.processMultiStatus(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:55)
	at at.bitfire.dav4jvm.okhttp.DavResource.processMultiStatus(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:126)
	at at.bitfire.dav4jvm.okhttp.DavCalendar.multiget(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:72)
	at at.bitfire.dav4jvm.okhttp.DavCalendar.multiget$default(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:12)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.invokeSuspend$lambda$0(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:19)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.$r8$lambda$EJfryk-T0yqtj2cN7-GyDQM_g28(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:1)
	at at.bitfire.davdroid.sync.SyncManager$$ExternalSyntheticLambda1.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:41)
	at androidx.glance.appwidget.LayoutConfiguration$save$2.invokeSuspend(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:66)
	at androidx.glance.appwidget.LayoutConfiguration$save$2.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:18)
	at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatched(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:19)
	at kotlinx.coroutines.JobKt.withContext(Unknown Source:47)
	at kotlinx.coroutines.JobKt.runInterruptible(Unknown Source:9)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.invokeSuspend(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:37)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:9)
	at at.bitfire.davdroid.sync.TasksSyncManager$downloadRemote$2.invoke(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:14)
	at at.bitfire.davdroid.sync.SyncException$Companion.wrapWithRemoteResourceSuspending(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:66)
	at at.bitfire.davdroid.sync.TasksSyncManager.downloadRemote(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:50)
	at at.bitfire.davdroid.sync.SyncManager$syncRemote$2$download$1.invokeSuspend(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:28)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:8)
	at kotlinx.coroutines.DispatchedTask.run(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:114)
	at com.google.android.gms.tasks.zzi.run(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:15)
	at kotlinx.coroutines.scheduling.TaskImpl.run(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:3)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(r8-map-id-08c33c092991e7309bcc22c58342ce5ab278068ef46cbc90b432a6fde4104361:88)

Metadata

Metadata

Assignees

Labels

tasksRegarding tasks / everything that's stored in a task app provider

Type

Urgency

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions