crash when calling 'Edit' context menu for site/page/thumbnail on about:home and returning to it with the 'Back' button: [@ java.lang.NullPointerException: at org.mozilla.gecko.AboutHomeContent$17.onActivityResult(AboutHomeContent.java) ]

RESOLVED FIXED in Firefox 20

Status

()

defect
--
critical
RESOLVED FIXED
7 years ago
3 years ago

People

(Reporter: aryx, Assigned: wesj)

Tracking

({crash, topcrash})

Trunk
Firefox 20
ARM
Android
Points:
---

Firefox Tracking Flags

(firefox20+ fixed)

Details

(Whiteboard: [native-crash], crash signature)

Attachments

(1 attachment)

Firefox for Android trunk 20121230, Android 4.1.2 (stock), Google Nexus S

This bug was filed from the Socorro interface and is 
report bp-1a6be7b5-7920-49d7-80a2-d486d2121230 .
============================================================= 

There is a crash when calling 'the Edit' context menu for a page on about:home and returning to it (from the awesome screen) with the 'Back' button: [@ java.lang.NullPointerException: at org.mozilla.gecko.AboutHomeContent$17.onActivityResult(AboutHomeContent.java) ] 

This feature landed two days ago: http://hg.mozilla.org/mozilla-central/rev/a9c2f983a4ea
Assignee: nobody → wjohnston
Severity: normal → critical
Whiteboard: [native-crash]
Let's also remove the Log.i here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AboutHomeContent.java#991

We don't want to be dumping URLs into logcat if we can help it.
This is the unfixed topcrash on 20 for Android at this time.
Keywords: topcrash
Posted patch PatchSplinter Review
I was just going to test the resultCode here, but AwesomeBarResultHandler doesn't check it and instead depends on data != null:

http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AwesomebarResultHandler.java#15

which scared me into doing both for now.
Attachment #697106 - Flags: review?(mark.finkle)
Attachment #697106 - Flags: review?(mark.finkle) → review+
https://hg.mozilla.org/mozilla-central/rev/0515eda1f932
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
You need to log in before you can comment on or make changes to this bug.