Describe the bug
0.5.10 crashes on convertFromTemperature while updating data
To Reproduce
Steps to reproduce the behavior:
Update data
App version (please complete the following information):
App version 0.5.10
Additional context or information
com.google.gson.JsonSyntaxException:
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read (ReflectiveTypeAdapterFactory.java:226)
at com.google.gson.Gson.fromJson (Gson.java:932)
at com.google.gson.Gson.fromJson (Gson.java:897)
at com.google.gson.Gson.fromJson (Gson.java:846)
at com.google.gson.Gson.fromJson (Gson.java:817)
at com.toonapps.toon.data.Converter.convertFromTemperature (Converter.java:19)
at com.toonapps.toon.data.RestClient$25.onResponse (RestClient.java:378)
at com.toonapps.toon.data.RestClient$25.onResponse (RestClient.java:375)
at com.android.volley.toolbox.StringRequest.deliverResponse (StringRequest.java:82)
at com.android.volley.toolbox.StringRequest.deliverResponse (StringRequest.java:29)
at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run (ExecutorDelivery.java:102)
at android.os.Handler.handleCallback (Handler.java:883)
at android.os.Handler.dispatchMessage (Handler.java:100)
at android.os.Looper.loop (Looper.java:237)
at android.app.ActivityThread.main (ActivityThread.java:7857)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1076)
Caused by: java.lang.IllegalStateException:
at com.google.gson.stream.JsonReader.beginObject (JsonReader.java:386)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read (ReflectiveTypeAdapterFactory.java:215)
Describe the bug 0.5.10 crashes on convertFromTemperature while updating data
To Reproduce Steps to reproduce the behavior: Update data
App version (please complete the following information):
Additional context or information