ERA : File not found error?

Error Name: File Not Found Error
Occurrences: 2
First Occurrence: 2020-06-29
Last Occurrence: 2020-06-29
Devices:
    fēnix® 6: 9.00
App Versions: 0.0.19
Languages: eng
Backtrace:
    // OCCURRED IN AppBase class initialize()
    

// INITIALIZE CODE:
function initialize() {
    AppBase.initialize();
    view = new App_HIIT_TimerView();
    if(self has :tagPreviousInstalls) {
    	tagPreviousInstalls(); // ERROR REPORT HERE FOR THIS LINE
    }
}
// REFERENCED METHOD IS ANNOTATED
(:ciq2plus) hidden function tagPreviousInstalls() { /* CODE */ }

I am all out of ideas!

I did search the forum and "File not found error" seems to be a mythical beast that is significant but rarely found.

G

  • What's in the code for tagPreviousInstalls?  Are you referencing properties the old way - App.getApp().getProperty()?

    You will probably have better luck with the new calls - Application.Storage/Application.Properties.

    Is there a background service involved (initalize() will also run when the background runs, and that can happen with no more than setting the backgroound permission as onAppInstall() and onAppUpdate() come into play.

  • It's annotated as :ciq2plus specifically to avoid usiong Application.getApp().getProperty() / .setProperty()!

    It reads Storage.getValue() and then writes Storage.setValue() if nothing is there.

    No background or anything else needed... it's... pretty basic!