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

CannotCreateObjectException: DynamicPreloadExtra not instantiable during form loading #6447

Closed
grzesiek2010 opened this issue Oct 9, 2024 · 0 comments · Fixed by #6448
Closed
Assignees
Milestone

Comments

@grzesiek2010
Copy link
Member

grzesiek2010 commented Oct 9, 2024

ODK Collect version

v2024.2.1 and newer versions

Problem description

While working on #6446 I've noticed that many errors contain an additional exception:

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

Steps to reproduce the problem

I'm not able to reproduce the issue.

@grzesiek2010 grzesiek2010 self-assigned this Oct 9, 2024
@github-project-automation github-project-automation bot moved this to not ready in ODK Collect Oct 9, 2024
@grzesiek2010 grzesiek2010 moved this from not ready to ready in ODK Collect Oct 10, 2024
@seadowg seadowg added this to the v2024.3 milestone Oct 10, 2024
@github-project-automation github-project-automation bot moved this from in progress to done in ODK Collect Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: done
2 participants