Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forms with search/pulldata might block reading from cache #6658

Open
grzesiek2010 opened this issue Mar 19, 2025 · 0 comments
Open

Forms with search/pulldata might block reading from cache #6658

grzesiek2010 opened this issue Mar 19, 2025 · 0 comments

Comments

@grzesiek2010
Copy link
Member

grzesiek2010 commented Mar 19, 2025

Problem description

Forms with search/pulldata might block reading from cache:

https://console.firebase.google.com/u/1/project/api-project-322300403941/crashlytics/app/android:org.odk.collect.android/issues/5b48ab2aa7ee6f9f311b9146ca58a40f?time=last-seven-days&types=crash&sessionEventKey=67A1900D008F000132F8FECF1AD2C1EF_2045865868014995597

W/null: org.javarosa.core.util.externalizable.CannotCreateObjectException:
org.odk.collect.android.dynamicpreload.DynamicPreloadExtra: not instantiable at
org.javarosa.core.util.externalizable.PrototypeFactory.getInstance(PrototypeFactory.java:130) at
org.javarosa.core.util.externalizable.ExtUtil.read(ExtUtil.java:182) at
org.javarosa.core.util.externalizable.ExtUtil.read(ExtUtil.java:177) at
org.javarosa.core.util.externalizable.ExtWrapExternalizable.readExternal(ExtWrapExternalizable.java:37) at
org.javarosa.core.util.externalizable.ExtUtil.read(ExtUtil.java:217) at
org.javarosa.core.util.externalizable.ExtWrapList.readExternal(ExtWrapList.java:80) at
org.javarosa.core.util.externalizable.ExtUtil.read(ExtUtil.java:217) at
org.javarosa.core.util.externalizable.ExternalizableExtras.readExternal(ExternalizableExtras.java:16) at
org.javarosa.core.util.externalizable.ExtUtil.read(ExtUtil.java:183) at
org.javarosa.core.util.externalizable.ExtUtil.read(ExtUtil.java:177) at
org.javarosa.core.model.FormDef.readExternal(FormDef.java:1045) at
org.odk.collect.android.utilities.ExternalizableFormDefCache.deserializeFormDef(ExternalizableFormDefCache.j
va:115) at
org.odk.collect.android.utilities.ExternalizableFormDefCache.readCache(ExternalizableFormDefCache.java:86) at
org.odk.collect.android.tasks.FormLoaderTask.createFormDefFromCacheOrXml(FormLoaderTask.java:299) at
org.odk.collect.android.tasks.FormLoaderTask.doInBackground(FormLoaderTask.java:196) at
org.odk.collect.android.tasks.FormLoaderTask.doInBackground(FormLoaderTask.java:80) at
org.odk.collect.async.SchedulerAsyncTaskMimic.execute$lambda$0(SchedulerAsyncTaskMimic.kt:37) at
org.odk.collect.async.SchedulerAsyncTaskMimic.$r8$lambda$91Ccusi_zfxwouZjauTWIiyE2dg(SchedulerAsync
askMimic.kt:0) at
org.odk.collect.async.SchedulerAsyncTaskMimic$$ExternalSyntheticLambda0.get(R8$$SyntheticClass:0) at
org.odk.collect.async.CoroutineScheduler$immediate$1$result$1.invokeSuspend(CoroutineScheduler.kt:18) at
kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at
kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at
kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) at
kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) at
kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at
kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ready
Development

No branches or pull requests

1 participant