Closed Bug 1822620 Opened 1 year ago Closed 1 year ago

Crash in [@ java.lang.NullPointerException: at org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment.getCheckboxes(DeleteBrowsingDataFragment.kt:6)]

Categories

(Fenix :: Privacy, defect, P2)

Unspecified
Android

Tracking

(firefox111 wontfix, firefox112 fixed, firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox111 --- wontfix
firefox112 --- fixed
firefox113 --- fixed

People

(Reporter: cpeterson, Assigned: giorga)

References

Details

(Keywords: crash, regression, Whiteboard: [fxdroid] [experience])

Crash Data

Attachments

(2 files)

This crash looks like a regression in Fenix 110.

Crash report: https://crash-stats.mozilla.org/report/index/a42f6990-a965-4578-b56d-ed4870230315

Java stack trace:

java.lang.NullPointerException
	at org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment.getCheckboxes(DeleteBrowsingDataFragment.kt:6)
	at org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment.updateDeleteButton(DeleteBrowsingDataFragment.kt:1)
	at org.mozilla.fenix.settings.deletebrowsingdata.DeleteBrowsingDataFragment$$ExternalSyntheticLambda2.onClick(R8$$SyntheticClass:19)
	at androidx.appcompat.app.AlertController$ButtonHandler.handleMessage(AlertController.java:38)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:268)
	at android.app.ActivityThread.main(ActivityThread.java:8046)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:627)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)
Assignee: nobody → giorga
Authored by https://github.com/iorgamgabriel
https://github.com/mozilla-mobile/firefox-android/commit/c5cc2296a1640be5fb944e726532bd9153a4b3da
[main] Bug 1822620 - Possible fix for NullPointerException
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Flags: qe-verify+

I removed qe-verify+ flag because I don't know how to reproduce this bug.

did we want to uplift this to 112? we only have 1 beta left

Flags: needinfo?(giorga)

I don't know; management should decide. It's a null check .

Flags: needinfo?(giorga)

:diannaS let' go ahead and uplift this to Beta. Thanks!

Comment on attachment 9325970 [details] [review]
[mozilla-mobile/firefox-android] Bug 1822620 -A possible fix for NullPointerException. (backport #1363) (#1475)

Beta/Release Uplift Approval Request

  • User impact if declined: Crash
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Approval from Manager although currently no manual qa str
  • String changes made/needed: None
  • Is Android affected?: Yes
Attachment #9325970 - Flags: approval-mozilla-beta?
Comment on attachment 9325970 [details] [review]
[mozilla-mobile/firefox-android] Bug 1822620 -A possible fix for NullPointerException. (backport #1363) (#1475)

Approved for Mobile 112.0b9
Attachment #9325970 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Regressions: 1827650
See Also: → 1851259
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: