Closed
Bug 1276977
Opened 8 years ago
Closed 8 years ago
Crash in java.lang.NullPointerException: Attempt to invoke virtual method ''java.lang.String org.mozilla.gecko.Tab.getUserRequested()'' on a null object reference at org.mozilla.gecko.BrowserApp.enterEditingMode(BrowserApp.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox49 fixed, fennec+)
RESOLVED
FIXED
Firefox 49
People
(Reporter: bugzilla, Assigned: ahunt)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
This bug was filed from the Socorro interface and is report bp-abbc8785-4b31-45d4-9e2f-487532160530. =============================================================
Updated•8 years ago
|
tracking-fennec: --- → ?
Looks like it might be a simple null check. Margaret can we get an assignee?
tracking-fennec: ? → +
Flags: needinfo?(margaret.leibovic)
Comment 2•8 years ago
|
||
ahunt, can you take a look?
Flags: needinfo?(margaret.leibovic) → needinfo?(ahunt)
Updated•8 years ago
|
Assignee: nobody → ahunt
Assignee | ||
Comment 3•8 years ago
|
||
Huh, we already do a nullcheck for that call. However I've noticed the results of the call that crashes are unused, so we can at least completely remove that code. (I wonder if that confuses the compiler/optimiser and we therefore don't get a nullcheck, but that's pure speculation.)
Status: NEW → ASSIGNED
Flags: needinfo?(ahunt)
Assignee | ||
Comment 4•8 years ago
|
||
Apparently this code can crash despite the nullcheck, let's completely remove it since we don't use the results. Review commit: https://reviewboard.mozilla.org/r/57386/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/57386/
Attachment #8759380 -
Flags: review?(liuche)
Updated•8 years ago
|
Attachment #8759380 -
Flags: review?(liuche) → review+
Comment 5•8 years ago
|
||
Comment on attachment 8759380 [details] Bug 1276977 - remove unused variable and call https://reviewboard.mozilla.org/r/57386/#review54182
Assignee | ||
Comment 6•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/7e530b2a462aeb163112e30c869442e2d6a54eef Bug 1276977 - remove unused variable and call r=liuche
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7e530b2a462a
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•