Strange ERA Error Location

I'm seeing this now and then, always from a non-English language. An Unhandled Exception pointing to the declaration of variables in a function. I assume when this happens the user experiences a crash? It never crashes for me on my EDGE 1030, and over 1200 have downloaded it, so I imagine it is generally reliable. So some strange corner case is causing this for non-English languages now and then. Any idea? The simulator peak memory 122.4 of 124.6, but that should be plenty of headroom. And if this was a memory issue, it would say that. Those variables aren't overloading a global or anything like that - unique to this function.

  • The line numbers can be a few lines off. Most probably it's about the real code line where you call pickFont. I don't think the language plays any role, probably it's just a statistical thing. I guess it's just that most users use the devices in their own languages which is not English.
    The error's title is also not always very useful, so that can also trick you. How much memory this device has?

  • YOU'RE RIGHT. I have a dual personality data field. Full Screen or Small Field. Weather uses the "mode" to adapt to the two personalities. In the full screen instance, I have several regions, one being focused on Power Data. So the region boundaries are set in the array PowerBox. I run the Full Screen and the smaller field (same data field) under the Map View. What I never thought about was someone ONLY running the smaller field instance. In that case, PowerBox is null. BOOM! So you're right, ERA pointed a few lines before the actual offender. I'd never seen this happen before. THANKS!! Fixed.