Recently the user of one of my datafields has reported a crash that happens when the datafield is used after configuring using Garmin Express.
The datafield allows configuration of 2 properties and uses some other properties that are not configurable by the user.
I have been able to reproduce the failure on an Edge 1030 running firmware 9.00 and 9.02 (as the user) and Garmin Express 6.19.1 (mac). Crash happens only if I configure the datafield. According to crash report obtained from ERA tool, crash happens when I try to use a variable that I have initialized with the value of one of the properties NOT configured in Garmin Express.
However, if I work on the simulator, datafield works fine even if I perform same configuration using App Settings Editor.
Same way, if I configure the datafield using Garmin Connect Mobile, it also works with no crash.
I don't know if I may have included any bug that is only affected by the way in which Express is storing values for properties and not by GCM or the App Settings Editor (if there is any difference).
I would appreciate any advise to fix this issue.
As there are some differences in the way I define properties that are set by user (good value is returned for them) and properties that I use to define values in the code depending on the layout (null after Express config), I provide the file structure I am using.