Bug? White Screen of Death

My data field has experienced this several times. I'll make a minor change to the default values of a User Setting in properties.xml and re-publish my field. When I run it on my EDGE 1030, it actually runs, but the field is completely blank, visually. So strange. I knew if I deleted all the related files on the device, it would work. But this time I wanted to figure out WHICH file was the issue.

I first removed the .SET file. Still broken. Next I deleted the larger .DAT file. BOOM - the field worked! When I plugged it back in, both the .DAT and the .IDX files were missing. I hadn't hit START yet. Then I started the device and started an activity. At that point the .DAT and .IDX files were re-created.

So, for whatever reason, the .DAT file seems to cause a data field to fail following a properties.xml change? This field uses background processing to get the device temp. It also uses Storage.getValue() for persistent storage as part of the background logic. It uses Properties.getValue() to get the User Settings. I also use generic ANT methods to get TEMPE temps.

Does anyone know what the DAT/IDX files do? Anyone else experience this strange artifact triggered by a properties change?

I did notice the .DAT file I deleted was about 2.3KB, but the new one just re-created was 1KB. I only use Storage to save two values in the background process for device temp, so I wonder if this file slowly grows unbounded for some reason... adding an item every 5 minutes? Ugh.

  • For things in Storage (the .dat/.idx/.imt files), you don't have the key in properties, do you?  I can see where doing so could have issues.  It's also odd that you don't show the .imt file.

    With the old getProperty()/getProperty() calls, having a property would determine if the data was in the .str or .set

  • I don't have an IMT file. Hmmm. Seems to work fine without the device creating it. Here is one of my User Settings in my properties.xml file. I've always used this pattern and this is the first time I'm running into this issue. See anything I should change? Besides the error range not matching the actual allowable range. I'll fix that.

  • I don't have an IMT file. Hmmm. Seems to work fine without the device creating it. Here is one of my User Settings in my properties.xml file. I've always used this pattern and this is the first time I'm running into this issue. See anything I should change? Besides the error range not matching the actual allowable range. I'll fix that. Which may cause another White Screen of Death.

  • You nailed it Jim!! It happened again. I noticed the IMT file was missing. Turns out that if I remove the DAT file and reboot, then it fixes the issue and the field works. That causes the device to recreate the DAT/IDX and IMT files, once a new Activity is started. So something is triggering the removal of the IMT file, which causes the White Screen of Death.