error when retreving data

2 posts, 0 answers
  1. Mark
    Mark avatar
    11 posts
    Member since:
    Oct 2015

    Posted 05 May Link to this post

    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

     

  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 09 May Link to this post

    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.
     
Back to Top