Ticket Created
over 4 years ago

CIQQA-370

strange error from era on some devices

Error Name: System Error
Occurrences: 9
First Occurrence: 2021-05-13
Last Occurrence: 2021-05-16
Devices:
    fÄ“nix® 6 Pro / 6 Sapphire / 6 Pro Solar / 6 Pro Dual Power / quatix® 6: 16.60
    Forerunner® 245 Music: 6.20
Languages: eng, spa
Backtrace:
    PSX1_Vie.onSC:415
    PSX1_Vie.onLayout:364

minSdkVersion="2.4.0", erroor onSC calling from onLayout in line

using Toybox.Application.Storage as STO;

const STO_APP_SETT                =     "AppSett";

        var t =  
        [
            1,
            loadResource(Rez.Strings.OWL)
        ];
        STO.setValue(STO_APP_SETT, t);//<--------error

I have fenix 6 pro, and 16.60 and even changed language to eng and no error.

Is possible that is connected with full of "disk" on device?

Parents
  • I have also just received a very similar ERA report:

    Error Name: System Error

    Occurrences: 1

    First Occurrence: 2022-10-20

    Last Occurrence: 2022-10-20

    Devices:

        epixTm (Gen 2) / quatix® 7 Sapphire: 10.37

    App Versions: 3.0.6

    Languages: eng

    Backtrace:

        HighMemLogic.onTimerStop:730

    The code in my onTimerStop is:

        function onTimerStop()

        {

            var info = Activity.getActivityInfo();

            if (info==null) { return; }

            if (info.elapsedDistance==null or info.timerTime==null) { return; }

            if (info.elapsedDistance==0.0  or info.timerTime==0.0) { return; }

            Storage.setValue(200, info.timerTime);

    The line #730 in which the System Error happens in is the last line with Storage.setValue. I have myself an Epix2 watch - and I have never seen such crash. I have no idea why this has happened, nor how to prevent? Note it is ENG language, so that seem not the explanation. 

    Should I try to save stuff between sessions via setProperty() instead ?

Comment
  • I have also just received a very similar ERA report:

    Error Name: System Error

    Occurrences: 1

    First Occurrence: 2022-10-20

    Last Occurrence: 2022-10-20

    Devices:

        epixTm (Gen 2) / quatix® 7 Sapphire: 10.37

    App Versions: 3.0.6

    Languages: eng

    Backtrace:

        HighMemLogic.onTimerStop:730

    The code in my onTimerStop is:

        function onTimerStop()

        {

            var info = Activity.getActivityInfo();

            if (info==null) { return; }

            if (info.elapsedDistance==null or info.timerTime==null) { return; }

            if (info.elapsedDistance==0.0  or info.timerTime==0.0) { return; }

            Storage.setValue(200, info.timerTime);

    The line #730 in which the System Error happens in is the last line with Storage.setValue. I have myself an Epix2 watch - and I have never seen such crash. I have no idea why this has happened, nor how to prevent? Note it is ENG language, so that seem not the explanation. 

    Should I try to save stuff between sessions via setProperty() instead ?

Children
  • Usually there is the problem with saving into storage an array.

    setProperty isn't a good solution due to problem with some types and also there is sometime bug with saving Disappointed (and you can't use setProperty in newest SDK).

    And you have only one error so maybe cause is connected with something special on device,