07-19-2012 03:01 AM - edited 07-19-2012 03:05 AM
Our application works on many devices with os from 4.6 to 7. It is a learning platform that has a feature as get course from server and show it to user. This course has the configuration xml file that application parse.
App works fine on all phones except one, it is 8520 with OS 4.6. In log file I see that the issue is in part of parsing this xml file. Is is classic DOM parser but this code works well on ALL OTHERS phones, so the issue isn't in format of this file. Furthermore, we can't reproduce it on developer side with simulator, this issue exists only on real phone.
I suppose that this issue is specific for 8520 with OS 4.6 and probaly you encountered with this early. So if you have answer or guess please share it with me. All help would be apreciated.
Solved! Go to Solution.
07-19-2012 04:04 AM - edited 07-19-2012 04:11 AM
In legacy code all exceptions handle in one catch block and throwing an exception instance with text about porblem in xml.
07-19-2012 04:16 AM
Sorry I can't help you with legacy code.
If exception is catched it means that it some kind of exception not error. So definately it's not OutOfMemoryError.
Try to catch/log original error. There are plenty of resources that give you real 8520 with 4.6 and specific carrier. You could deploy app there and test yourself to understand reason.
07-19-2012 05:00 AM
Just to clarify, are you saying that the same XML and in fact the same code works on all other phones and OS levels, including other 4.6 OS's?
As you have suggested, perhaps there is a bug in the OS 4.6 code you are testing on device. Can you tell us exactly what code this is (you will need to go into Options-->About to see the full OS release numbers).
07-20-2012 10:47 AM