Start a new topic

Fetching data from Kinvey causing app crashed

I am making an android app and fetching data from kinvey. It is creating users and logging them in but when i try to fetch data from kinvey then app got crashed. here ismy entity class:![](https://c3409409.ssl.cf0.rackcdn.com/kinvey.vanillaforums.com/editor/oq/s1vgmu5xq3r6.png "")

here is my kinvey collection for my app![](https://c3409409.ssl.cf0.rackcdn.com/kinvey.vanillaforums.com/editor/ew/ujhi230spuy8.png "")

and here is my main class from where i am trying to fetch data from kinvey

![](https://c3409409.ssl.cf0.rackcdn.com/kinvey.vanillaforums.com/editor/a4/sge9v6bur5cb.png "")

And finally here is my logcat in case if you want to see this,

![](https://c3409409.ssl.cf0.rackcdn.com/kinvey.vanillaforums.com/editor/ke/6tiy17h9vbdq.png "")

Plz help if any one can.

Thanks.

1 Comment

Hey,



does your Entity class have a public no-args constructor? The JSON deserialization process needs one.



Add the following line to Entity.java right below the `acl` variable:



public Entity(){}
Login or Signup to post a comment