Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

akkoma crash #474

Closed
sk22 opened this issue Mar 21, 2023 · 0 comments
Closed

akkoma crash #474

sk22 opened this issue Mar 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sk22
Copy link
Owner

sk22 commented Mar 21, 2023

03-21 17:35:12.688  7667  7667 E AndroidRuntime: FATAL EXCEPTION: main
03-21 17:35:12.688  7667  7667 E AndroidRuntime: Process: org.joinmastodon.android.sk, PID: 7667
03-21 17:35:12.688  7667  7667 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.joinmastodon.android.sk/org.joinmastodon.android.MainActivity}: java.lang.NullPointerException: Attempt to read from field 'org.joinmastodon.android.model.Instance$Pleroma org.joinmastodon.android.model.Instance.pleroma' on a null object reference in method 'void org.joinmastodon.android.fragments.HomeFragment.updateNotificationBadge()'
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3676)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3813)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2308)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.os.Looper.loopOnce(Looper.java:201)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:288)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7898)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field 'org.joinmastodon.android.model.Instance$Pleroma org.joinmastodon.android.model.Instance.pleroma' on a null object reference in method 'void org.joinmastodon.android.fragments.HomeFragment.updateNotificationBadge()'
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at org.joinmastodon.android.fragments.HomeFragment.updateNotificationBadge(HomeFragment.java:293)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at org.joinmastodon.android.fragments.HomeFragment.onCreateView(HomeFragment.java:127)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.Fragment.performCreateView(Fragment.java:2505)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1303)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1581)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1642)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.FragmentManagerImpl.dispatchMoveToState(FragmentManager.java:3052)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3004)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.FragmentController.dispatchActivityCreated(FragmentController.java:185)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:8298)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.Activity.performCreate(Activity.java:8269)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3657)
03-21 17:35:12.688  7667  7667 E AndroidRuntime: 	... 12 more

@sk22 sk22 added the bug Something isn't working label Mar 21, 2023
@sk22 sk22 closed this as completed in a58640a Mar 24, 2023
FineFindus referenced this issue in FineFindus/moshidon May 30, 2023
…-edit

Only load default status visibility if not editing
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant