This is a migrated thread and some comments may be shown as answers.

error when retreving data

1 Answer 29 Views
Android SDK
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark
Top achievements
Rank 1
Mark asked on 05 May 2016, 03:46 PM

I have not made any changes to my java code and now a data type wont download. I have attached the output in a text file. I made some changes to the same feature in IOS and i un committed the oncreated event in the telerik backend but no changes to the android code. older versions of the app are also affected

 

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 09 May 2016, 11:16 AM
Hello Mark,

This error is JAVA-specific and most probably signifies that there was a problem with deserializing the response from the server. The reason might be that a field in the JSON response from the server has an integer value but the JAVA class is expecting a boolean value hence the error.

Can you please examine the data items and if some of them have values for а specific field (a boolean field) that are not boolean (true / false) but numbers (perhaps 0/1).

I hope that this helps.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
Android SDK
Asked by
Mark
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or