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

crash when trying to view notifications #913

Open
SkewedZeppelin opened this issue Oct 25, 2024 · 11 comments
Open

crash when trying to view notifications #913

SkewedZeppelin opened this issue Oct 25, 2024 · 11 comments

Comments

@SkewedZeppelin
Copy link

version 2.7.3 from f-droid.org

10-25 17:46:35.060 30305 30305 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String org.joinmastodon.android.model.Account.id' on a null object reference in method 'void h1.q.U1(org.joinmastodon.android.model.viewmodel.NotificationViewModel)'
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at h1.q.U1(SourceFile:21)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at h1.q.e1(SourceFile:3)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at h1.c0.i(SourceFile:20)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at h1.n4.i(SourceFile:1)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at l0.h.d(SourceFile:88)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at g0.f.A0(SourceFile:29)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at h1.n4.k2(SourceFile:1)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at h1.n4$a.a(SourceFile:25)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at h1.n4$a.onSuccess(SourceFile:3)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at org.joinmastodon.android.api.CacheController.Y(SourceFile:10)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at org.joinmastodon.android.api.CacheController.r(SourceFile:1)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at org.joinmastodon.android.api.j.run(SourceFile:1)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:942)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:99)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:201)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7924)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at com.android.internal.os.ExecInit.main(ExecInit.java:48)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
10-25 17:46:35.060 30305 30305 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
10-25 17:46:35.061  1368  1778 I am_crash: [30305,10,org.joinmastodon.android,551075396,java.lang.NullPointerException,Attempt to read from field 'java.lang.String org.joinmastodon.android.model.Account.id' on a null object reference in method 'void h1.q.U1(org.joinmastodon.android.model.viewmodel.NotificationViewModel)',SourceFile,21]
@rozeboosje
Copy link

"Me too" mastodon app 2.8.0 on Android

@grishka
Copy link
Member

grishka commented Nov 16, 2024

What about 2.9.0 or 2.9.1?

@rozeboosje
Copy link

And here I was thinking the app would automatically get updated. Went to Play Store, updated the app, it's now on 2.9.1 and whadyaknow it's back working again.

Cheers

@antimundo
Copy link

I have the same problem, it crashes when I open the notifications, I'm on Mastodon 2.9.0 (128).

@grishka
Copy link
Member

grishka commented Nov 17, 2024

2.9.1 fixes that....

@antimundo
Copy link

antimundo commented Nov 17, 2024

2.9.1 fixes that....

I just updated my app to 2.9.1 (129) (from Google Play Store) and it seems to be fixed :) it no longer crashes when trying to view notifications. Thanks!

@antimundo
Copy link

I saw a Mastodon post of another user that had the same problem, I told him to update the app, and he replied that indeed it got fixed after updating the app :)

https://mastodon.social/@Solanus/113498865055324729

@dadall
Copy link

dadall commented Nov 17, 2024

Hey,

The app is still crashing with 2.9.1. The update fixed the issue during 1 days but it's back again.

Regards

@grishka
Copy link
Member

grishka commented Nov 17, 2024

Try logging out and back in again.

@schneidr
Copy link

I had the problem with crashes on notifications and when I was trying to write a new post after the update from 2.9.0 to 2.9.1 on a Samsung A31, on a A52 I had no problems. And the problem on the A31 vanished after uninstalling and reinstalling the app.

@dadall
Copy link

dadall commented Nov 18, 2024

Try logging out and back in again.

It seems to be ok now !

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

No branches or pull requests

6 participants