1.0.beta5 - Opening any other view besides Home crashes the app
Environment:
- PixelDroid version 1.0.beta5 (F-Droid)
- Device: Google Pixel 3a XL
- OS/ROM: Android 12/GrapheneOS with no Google Services (latest OS build as 12/16/2021)
- Pixelfed Instance: pixelfed.social (No 2fa)
Steps to reproduce:
I upgraded PixedDroid via F-Droid to the latest version and I have also completely removed the app, cleared caches and reinstalled. Same results, detailed below:
- Open the app
- From Home, open any other view besides Settings or My Profile and it immediately crashes.
Actual result:
- Home view is fine, no issues.
- Settings view is fine, no issues.
- My Profile has a continuous spinner and never loads any of my posts.
- When crashing, sometimes I am able to capture the error message.
Expected result:
Basically opposite of the actual results.
Captured Error Message:
file: /data/user/0/org.pixeldroid.app/files/1.0.beta5-1639935296730.tracedroid
Android Version: 12
Phone Model: Pixel 3a XL\nTraceDroid Version: 4.1\nStacktrace: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
at w5.a.d(SourceFile:6)
at s5.b$a.a(SourceFile:4)
at androidx.appcompat.widget.m.b(SourceFile:11)
at za.p.c(SourceFile:22)
at za.p$a.b(SourceFile:1)
at j9.d$a.run(SourceFile:13)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:920)
\nLog: 3 current handler class=com.android.internal.os.RuntimeInit$KillApplicationHandler
3 Writing unhandled exception to: /data/user/0/org.pixeldroid.app/files/1.0.beta5-1639935296730.tracedroid
Edited by MW