Ticket Created
over 3 years ago

CIQQA-711

Reboot of the watch and crash of the simulator with THIS string resource

Hello! 

I get the weather from OpenWeatherMap service and make drawText function with text description of the current weather. 

And I found condition when the real device is being rebooted and the simulator is being crashed when I got this string from the json response: "description":"Mäßiger Regen"

Looks like the operating system can't handle some symbols from this string (I guess it's "ä" or "ß")

It's okay when you see IQ! screen, but in this case it's reboot of the real device and total crash (with closed window) of the simulator

I've got this behaviuor with Venu device 

{
   "coord":{
      "lon":xx.xxxx,
      "lat":xx.xxxx
   },
   "weather":[
      {
         "id":501,
         "main":"Rain",
         "description":"Mäßiger Regen",
         "icon":"10n"
      }
   ],
   "base":"stations",
   "main":{
      "temp":6.84,
      "feels_like":4.55,
      "temp_min":6.16,
      "temp_max":7.99,
      "pressure":1007,
      "humidity":99,
      "sea_level":1007,
      "grnd_level":953
   },
   "visibility":8792,
   "wind":{
      "speed":3.26,
      "deg":255,
      "gust":7.45
   },
   "rain":{
      "1h":1.78
   },
   "clouds":{
      "all":100
   },
   "dt":1635798504,
   "sys":{
      "type":2,
      "id":2001110,
      "country":"DE",
      "sunrise":1635746031,
      "sunset":1635781792
   },
   "timezone":3600,
   "id":2823916,
   "name":"Taubenbach",
   "cod":200
}


Parents
  • Could be an issue with toUpper() with all languages and all characters.  I just wouldn't use it here, as it depends on what you get from OWM so not somethg you can control..

    It's worth a bug report, but is a case where a fix could take time to roll out to all devices and it's easy to avoid.

Comment
  • Could be an issue with toUpper() with all languages and all characters.  I just wouldn't use it here, as it depends on what you get from OWM so not somethg you can control..

    It's worth a bug report, but is a case where a fix could take time to roll out to all devices and it's easy to avoid.

Children
No Data