Skip to content

crash on query with Entity not having no-arg constructor #900

@XilinJia

Description

@XilinJia

I don't see this mentioned anywhere, but with my entity class without a no-arg constructor, everytime when a query like
wordBox.query().equal(WordOB_.word, wordStr).build().find()
is done, the app crashes without giving any reason. Every frustrating - I spent the whole afternoon trying to figure out the problem. In the end, "Evaluate Expression" (on Android Studio) on the entire expression above, gives a cause regarding the need for a no-arg constructor.

Hope this can either be documented or fixed.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions