Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Crash: Exception: java.lang.RuntimeException: Unable to resume activity {...VectorHomeActivity}: java.lang.NullPointerException #709

Open
giomfo opened this issue Apr 14, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@giomfo
Copy link
Contributor

giomfo commented Apr 14, 2021

Tchap Build : 77
Tchap Version : 1.1.1_a (F-834c9b8a2-2021-03-12 07:46:04 +0100)
SDK Version : 0.9.37-dev (834c9b8a2-2021-03-12 07:46:04 +0100)
Phone : Xperia X (AOSP) (eng.10112020.20210210.110640 6.0.1 REL)
Memory statuses
usedSize 54 MB
freeSize 4 MB
totalSize 58 MB
Thread: main, Activity:im.vector.activity.VectorHomeActivity, Exception: java.lang.RuntimeException: Unable to resume activity {fr.gouv.tchap.a/im.vector.activity.VectorHomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'org.matrix.androidsdk.data.Room org.matrix.androidsdk.data.store.IMXStore.getRoom(java.lang.String)' on a null object reference
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3103)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2481)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:722)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:612)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'org.matrix.androidsdk.data.Room org.matrix.androidsdk.data.store.IMXStore.getRoom(java.lang.String)' on a null object reference
at im.vector.activity.VectorHomeActivity.getRoomInvitations(VectorHomeActivity.java:1565)
at fr.gouv.tchap.fragments.TchapRoomsFragment.onRoomResultUpdated(TchapRoomsFragment.java:160)
at im.vector.fragments.AbsHomeFragment.onResume(AbsHomeFragment.java:124)
at fr.gouv.tchap.fragments.TchapRoomsFragment.onResume(TchapRoomsFragment.java:100)
at androidx.fragment.app.Fragment.performResume(Fragment.java:2498)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1501)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManager.java:3269)
at androidx.fragment.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:3241)
at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:223)
at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:538)
at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:527)
at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:172)
at android.app.Activity.performResume(Activity.java:6351)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)
... 10 more

@giomfo giomfo added the bug Something isn't working label Apr 14, 2021
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