Complete
over 5 years ago

WERETECH-6408, WERETECH-7425, WERETECH-7514

Could not reproduce.

File not found error

On real device randomly occurs error: File Not Found Error - while trying to read from Storage

Error is already quite old. From CIQ_LOG.YML I see that it occurs roughly once a day. It is not as visible as before because Watch restart automatically Watchface.

Parents
  • I'm seeing some ERA bug reports for File Not Found Error:

    Error Name: File Not Found Error
    Occurrences: 1
    First Occurrence: 2020-01-20
    Last Occurrence: 2020-01-20
    Devices:
        Forerunner® 945: 3.30
    App Versions: 0.0.8
    Languages: eng
    Backtrace:
        myView.saveMemoryData:3010
        myView.onStop:1166
        myApp.onStop:88
        myApp.onStop:24

    Error Name: File Not Found Error
    Occurrences: 5
    First Occurrence: 2020-01-20
    Last Occurrence: 2020-01-20
    Devices:
        Forerunner® 945: 3.30
    App Versions: 0.0.8
    Languages: eng
    Backtrace:
        myView.saveMemoryData:3010
        myView.handleSettingsChanged:1415
        myView.onUpdate:1505
        myApp.onUpdate:120

    It looks like it could just be for one user so far.

    saveMemoryData is just this:

    	function saveMemoryData()
    	{
    		var memData = [
    			profileTimeData,
    			positionGot,
    			positionLatitude,
    			positionLongitude,
    			positionAltitude,
    			profileActive,
    			profileDelayEnd,
    			profileRandom,
    			profileRandomEnd,
    			demoProfilesOn,
    			demoProfilesCurrentProfile,
    			demoProfilesCurrentEnd,
    			-1,
    		];
    		applicationStorage.setValue(0, memData);
        }

Comment
  • I'm seeing some ERA bug reports for File Not Found Error:

    Error Name: File Not Found Error
    Occurrences: 1
    First Occurrence: 2020-01-20
    Last Occurrence: 2020-01-20
    Devices:
        Forerunner® 945: 3.30
    App Versions: 0.0.8
    Languages: eng
    Backtrace:
        myView.saveMemoryData:3010
        myView.onStop:1166
        myApp.onStop:88
        myApp.onStop:24

    Error Name: File Not Found Error
    Occurrences: 5
    First Occurrence: 2020-01-20
    Last Occurrence: 2020-01-20
    Devices:
        Forerunner® 945: 3.30
    App Versions: 0.0.8
    Languages: eng
    Backtrace:
        myView.saveMemoryData:3010
        myView.handleSettingsChanged:1415
        myView.onUpdate:1505
        myApp.onUpdate:120

    It looks like it could just be for one user so far.

    saveMemoryData is just this:

    	function saveMemoryData()
    	{
    		var memData = [
    			profileTimeData,
    			positionGot,
    			positionLatitude,
    			positionLongitude,
    			positionAltitude,
    			profileActive,
    			profileDelayEnd,
    			profileRandom,
    			profileRandomEnd,
    			demoProfilesOn,
    			demoProfilesCurrentProfile,
    			demoProfilesCurrentEnd,
    			-1,
    		];
    		applicationStorage.setValue(0, memData);
        }

Children
No Data