Crash - NullPointerException in BookmarkFragment
Categories
(Firefox for Android :: Bookmarks, defect, P3)
Tracking
()
People
(Reporter: rsainani, Assigned: mcarare)
References
Details
(Keywords: crash, Whiteboard: [fxdroid][group1])
Crash Data
Attachments
(1 file)
This crash has started occurring in 116 nightly.
Stack trace:
java.lang.NullPointerException: null
at org.mozilla.fenix.library.bookmarks.BookmarkFragment.refreshBookmarks(BookmarkFragment.kt:103)
at org.mozilla.fenix.library.bookmarks.BookmarkFragment$refreshBookmarks$1.invokeSuspend(BookmarkFragment.kt:14)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:9)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:112)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
| Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
I managed to reproduce this crash (same stack trace) by rapidly clicking the bookmarks menu and opening 2 menus. Selecting one action ( delete) from the first and then using the second menu choosing a new option crashes the app.
This issue might come up in other screen that use the same menu, so the fix will involve preventing opening a menu twice.
Comment 2•2 years ago
|
||
Comment 3•2 years ago
|
||
Authored by https://github.com/mcarare
https://github.com/mozilla-mobile/firefox-android/commit/87c6fc31f96f93770c0e82cd12ad836bedb7443b
[main] Bug 1839160 - Prevent opening a menu twice.
Updated•2 years ago
|
Comment 4•2 years ago
|
||
The patch landed in nightly and beta is affected.
:mcarare, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox124towontfix.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 5•2 years ago
|
||
Relatively low volume, edge case STR. So holding off on an uplift.
Description
•