Loading Applixcation.Properties in function getInitialView fails sometimes

Yesterday I started to use ERA, very useful!

Now I see that one of my apps sometimes generates unhandled exceptions while loading Application.Properties.

I have code like this:

    function getInitialView() {

        var fontSize = App.Properties.getValue("fontSize");  (line 34)
        var screenSize = App.Properties.getValue("screenSize"); (line 35)

The properties are stored in a properties.xml file in directories like "resources-rectangle-282x470"

Is it bad idea to read Application.Properties at this point?What ccould cause theze problems?

I could try to handle the exceptions but then I won't know if things go wrong anymore.

The strange thing is that the Edge 520/820/530/830 devices only fail at line 34 while the Edge 1030 sometimes fails at line 35. I see no bugscoming from an Edge 1000, though this is a supported device.

Top Replies

All Replies