Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pachli Current: App immediately crashes on startup #250

Closed
bakaminto opened this issue Nov 12, 2023 · 5 comments · Fixed by #251
Closed

Pachli Current: App immediately crashes on startup #250

bakaminto opened this issue Nov 12, 2023 · 5 comments · Fixed by #251
Assignees
Milestone

Comments

@bakaminto
Copy link

Describe the bug
Launching the app results in immediate crash and close.
Deleting all app data results in the app starting and asking for login to a server, but right after successful login (in my case to mastodon.social) the app crashes again.
complete uninstall/reinstall makes no difference.

Versions
1.4.0+d40b87f0

Android 14
Pixel 7a

Additional context
As the app closes immediately there is not much else to describe/provide unfortunately.
it started happening after today's update.
pachli stable (1.4.0) works fine.

Affirmation
I have checked other issues for this project (open and closed) and I cannot find one that matches the problem I am reporting.

@s-hgr
Copy link

s-hgr commented Nov 13, 2023

Same behaviour for me. Immediate crash without opening at all.

Pixel 8 Pro
Android 14
UD1A.231105.004

@nikclayton
Copy link
Contributor

Thanks both for the notification. Investigating this now.

@nikclayton nikclayton self-assigned this Nov 13, 2023
@dnkrupinski
Copy link

dnkrupinski commented Nov 13, 2023

I can confirm this behaviour on Nokia G50 (Android 13) and Fairphone 4 (Android 13).

Starts and crashs immediatly.

Very rare i can see the regular screen in background with error message from system on top.

https://photos.app.goo.gl/tRKq5LcqhCYLSxxS6

nikclayton added a commit to nikclayton/pachli-android that referenced this issue Nov 13, 2023
Without this the model classes are not retained, which causes a
`ClassCastException` when parsing the new models for the instance v1
and instance v2.

Fixes pachli#250
@nikclayton nikclayton added this to the 2.0 milestone Nov 13, 2023
@nikclayton
Copy link
Contributor

Thanks all, I've reproduced and fixed the problem in #251. A new release will go to Google Play in 30 minutes or so, and then it's typically 6-12 hours before it's available.

Thank you for using Pachli Current and reporting issues like this, it helps improve the code for everyone.

nikclayton added a commit that referenced this issue Nov 13, 2023
Without this the model classes are not retained, which causes a
`ClassCastException` when parsing the new models for the instance v1 and
instance v2 API calls.

Fixes #250
@nikclayton
Copy link
Contributor

The new version is showing in Google Play already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants