Closed Navid200 closed 5 months ago
Install xDrip (not over a previous install). Do not set up a hardware data source. Enable data tables. Tap on data table. xDrip will crash.
It crashes when calling parseDataForStats. And what causes the crash is the for loop in that method.
I have extended the existing try and catch to also include the call to the parseDataForStats method.
The same test shows no crash anymore after this PR. It shows an empty data table.
The calibration data table does not crash when empty. Only the BG data table.
Tested with Android 9
Install xDrip (not over a previous install). Do not set up a hardware data source. Enable data tables.
Tap on data table. xDrip will crash.
It crashes when calling parseDataForStats. And what causes the crash is the for loop in that method.
I have extended the existing try and catch to also include the call to the parseDataForStats method.
The same test shows no crash anymore after this PR. It shows an empty data table.