2022-10-15 11:18:03
2022-10-15 09:32:59
2022-10-15 09:32:59
965822
!Friendica Support fediab crashes with latest friedica release.
```
type: crash
osVersion: google/oriole/oriole:13/TP1A.221005.002/2022100300:user/release-keys
package: fr.gouv.etalab.mastodon:408
process: fr.gouv.etalab.mastodon
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a boolean but was NUMBER at line 1 column 85 path $.alerts.follow
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:270)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:266)
at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:40)
at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:27)
at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:243)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:204)
at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall.execute(DefaultCallAdapterFactory.java:108)
at app.fedilab.android.helper.PushNotifications.lambda$registerPushNotifications$1(PushNotifications.java:105)
at app.fedilab.android.helper.PushNotifications$$ExternalSyntheticLambda0.run(Unknown Source:24)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.IllegalStateException: Expected a boolean but was NUMBER at line 1 column 85 path $.alerts.follow
at com.google.gson.stream.JsonReader.nextBoolean(JsonReader.java:863)
at com.google.gson.internal.bind.TypeAdapters$3.read(TypeAdapters.java:146)
at com.google.gson.internal.bind.TypeAdapters$3.read(TypeAdapters.java:135)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:266)
... 10 more
```
```
type: crash
osVersion: google/oriole/oriole:13/TP1A.221005.002/2022100300:user/release-keys
package: fr.gouv.etalab.mastodon:408
process: fr.gouv.etalab.mastodon
com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected a boolean but was NUMBER at line 1 column 85 path $.alerts.follow
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:270)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:266)
at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:40)
at retrofit2.converter.gson.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:27)
at retrofit2.OkHttpCall.parseResponse(OkHttpCall.java:243)
at retrofit2.OkHttpCall.execute(OkHttpCall.java:204)
at retrofit2.DefaultCallAdapterFactory$ExecutorCallbackCall.execute(DefaultCallAdapterFactory.java:108)
at app.fedilab.android.helper.PushNotifications.lambda$registerPushNotifications$1(PushNotifications.java:105)
at app.fedilab.android.helper.PushNotifications$$ExternalSyntheticLambda0.run(Unknown Source:24)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.IllegalStateException: Expected a boolean but was NUMBER at line 1 column 85 path $.alerts.follow
at com.google.gson.stream.JsonReader.nextBoolean(JsonReader.java:863)
at com.google.gson.internal.bind.TypeAdapters$3.read(TypeAdapters.java:146)
at com.google.gson.internal.bind.TypeAdapters$3.read(TypeAdapters.java:135)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:161)
at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:266)
... 10 more
```
Friendica Support hat dies geteilt.
Paulo da Silva
Friendica Support hat dies geteilt.
Paulo da Silva
Problem solved with reinstated fedilab. Version still: v3.4.2
@Michael Vogel
Friendica Support hat dies geteilt.