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

[Friendica] Crash when opening notifications #212

Closed
eengnr opened this issue Jun 9, 2023 · 2 comments
Closed

[Friendica] Crash when opening notifications #212

eengnr opened this issue Jun 9, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@eengnr
Copy link

eengnr commented Jun 9, 2023

Describe the bug
Hi, I'm using your app with a Friendica account! It crashes if I try to open the notifications overview in the app.
I don't know if the app should be compatible with Friendica, but maybe you can have a look 😊

To reproduce
Steps to reproduce the behavior:

  1. Open the app
  2. Tap the "bell" icon

Does this happen in the official app?
It does not happen with Megalodon Version 1.2.3+fork.91

Version
Moshidon version: Version 1.3.0+fork.100.moshinda

Crash log

FATAL EXCEPTION: main
Process: org.joinmastodon.android.moshinda, PID: 7525
java.lang.NullPointerException: Attempt to read from field 'org.joinmastodon.android.model.Marker org.joinmastodon.android.model.Markers.notifications' on a null object reference in method 'void org.joinmastodon.android.fragments.NotificationsListFragment$1.onSuccess(org.joinmastodon.android.model.CacheablePaginatedResponse)'
	at org.joinmastodon.android.fragments.NotificationsListFragment$1.onSuccess(SourceFile:12)
	at org.joinmastodon.android.fragments.NotificationsListFragment$1.onSuccess(SourceFile:1)
	at org.joinmastodon.android.api.CacheController$2.onSuccess(SourceFile:4)
	at org.joinmastodon.android.api.CacheController$2.onSuccess(SourceFile:1)
	at me.grishka.appkit.api.a$a.run(SourceFile:12)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7884)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
@eengnr eengnr added the bug Something isn't working label Jun 9, 2023
@LucasGGamerM
Copy link
Owner

This was fixed in the nightly version of Moshidon. Please use it before the release of a new stable version

@LucasGGamerM
Copy link
Owner

Btw, you can install the nightly version alongside the stable version and use either interchangeably

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants