Page MenuHomeGitPull.it

Fix crash "Unable to resume activity"
Open, LowPublic

Description

Dear Developers,
Please triage this crash.

Here part of the crash dump:

version code:
30

version name:
1.13.1-dev

phone:
Mi A2 Lite

brand:
xiaomi

stack:
java.lang.RuntimeException: Unable to resume activity {it.reyboz.bustorino.debug/it.reyboz.bustorino.ActivityMain}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.material.floatingactionbutton.FloatingActionButton.show()' on a null object reference
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4206)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4238)
	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2017)
	at android.os.Handler.dispatchMessage(Handler.java:107)
	at android.os.Looper.loop(Looper.java:214)
	at android.app.ActivityThread.main(ActivityThread.java:7397)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.material.floatingactionbutton.FloatingActionButton.show()' on a null object reference
	at it.reyboz.bustorino.fragments.ResultListFragment.onResume(ResultListFragment.java:214)
	at it.reyboz.bustorino.fragments.ArrivalsFragment.onResume(ArrivalsFragment.java:194)
	at androidx.fragment.app.Fragment.performResume(Fragment.java:2748)
	at androidx.fragment.app.FragmentStateManager.resume(FragmentStateManager.java:373)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1211)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1368)
	at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java:1446)
	at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1509)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2637)
	at androidx.fragment.app.FragmentManager.dispatchResume(FragmentManager.java:2601)
	at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:269)
	at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:478)
	at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:467)
	at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:204)
	at android.app.Activity.performResume(Activity.java:7964)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4196)
	... 11 more

Thank you! :)

Generated with https://lab.reyboz.it/libre-busto/crash-report/
By Yuri Caridi (thank you so much!)

Event Timeline

fabio.mazza triaged this task as Low priority.Tue, Feb 16, 11:45