Symptomless Crash using Newtonsoft in PCL

I recently moved a project I am working on over to a JSON document based backend. Serialization on the backend works just fine, all data objects are uploaded successfully, but on download, when I attempt to deserialize using Newtonsoft's JsonConvert.DeserializeObject, my app crashes with no exception or indication that anything is going awry. I am currently building Profile 78 on an android device where the crash is occurring.

Best Answer

Answers

  • LoriLalondeLoriLalonde CAInsider, University, Developer Group Leader ✭✭✭

    Have you tried running the Android Device Monitor while debugging to see if it provides more details on what is causing the crash?

  • ShaneSiebkenShaneSiebken USMember

    I actually solved my problem - I was accidentally trying to create a memorystream from a null byte[], but because I was using a delegate, it seems there was no exception thrown.

  • JohnSheehan.3374JohnSheehan.3374 USMember ✭✭

    What was the answer ? I have a Xamarin PCL object and every Newtonsoft function I try blows up. I do not see the solution posted

Sign In or Register to comment.