[testStats objectForKey:TEST_STATS_ARRAY] this is where it crashes.
I am having to surround the code with try catch but such code exists all over the project and it is really difficult to make this change all over.
For newer phones this code is working fine, it goes into else part if the key is not found.