Under Review
over 1 year ago

Still Error Name: Unhandled Exception when calling Toybox.Application.Properties.getValue

win/eclipse/4.1.7


Error Name: Unhandled Exception
Occurrences: 9
First Occurrence: 2023-03-09
Last Occurrence: 2023-03-10
Devices:
    epixTm (Gen 2) / quatix® 7 Sapphire: 8.23            <= no current firmware
    Instinct® Crossover: 11.18                                    <= the newest one

I've just realised that problem can be connected with no memory. Why?

- in app.onStart() I read STRING properties and no error

- in app.getInitialView (so after onStart()) I read BOOLEAN properties and error

So problem can be with properties of type="boolean" but not everyone have this error (e.g. I have never had it on my f6p in all my apps).

Maybe problem is with bad saving BOOL with GCM on ios (I use android) or GE (i don't use it at all).

Parents
  • Try/catch for not existing key can happen usually only in developing time, by typo, I know the name of all properties!

    Ok, it can can be useful to something. I don't expect, that system read only part of properties due to no memory.

    Here we don't speak about Properties.InvalidKeyException.

Comment
  • Try/catch for not existing key can happen usually only in developing time, by typo, I know the name of all properties!

    Ok, it can can be useful to something. I don't expect, that system read only part of properties due to no memory.

    Here we don't speak about Properties.InvalidKeyException.

Children
No Data