Closed
Bug 1373873
Opened 7 years ago
Closed 7 years ago
Crash in java.lang.NullPointerException: Attempt to invoke interface method ''boolean android.database.Cursor.moveToFirst()'' on a null object reference at org.mozilla.gecko.promotion.AddToHomeScreenPromotion.getHistoryForURL(AddToHomeScreenPromotion.j...
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(firefox54 unaffected, firefox55 fixed, firefox56 fixed)
RESOLVED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox54 | --- | unaffected |
firefox55 | --- | fixed |
firefox56 | --- | fixed |
People
(Reporter: Grisha, Assigned: Grisha)
References
Details
(Keywords: crash, Whiteboard: [LP_M1])
Crash Data
Attachments
(3 files)
59 bytes,
text/x-review-board-request
|
cnevinchen
:
review+
|
Details |
59 bytes,
text/x-review-board-request
|
cnevinchen
:
review+
|
Details |
5.31 KB,
patch
|
jcristau
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We seem to be crashing on startup while trying to track some history-related MMA event. Specifically, the code is trying to fetch history item from the database for the current url, assumes it will never get a null cursor, and crashes when said cursor _is_ null.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → gkruglov
Status: NEW → ASSIGNED
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8878734 [details] Bug 1373873 - Guard against a nullable cursor https://reviewboard.mozilla.org/r/150060/#review154742
Attachment #8878734 -
Flags: review?(cnevinchen) → review+
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8878735 [details] Bug 1373873 - Post: remove unused code https://reviewboard.mozilla.org/r/150062/#review154744
Attachment #8878735 -
Flags: review?(cnevinchen) → review+
Comment 5•7 years ago
|
||
Thanks for the help!
Pushed by gkruglov@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7a3738e2de59 Guard against a nullable cursor r=nechen https://hg.mozilla.org/integration/autoland/rev/cd9b265eb8f6 Post: remove unused code r=nechen
Assignee | ||
Comment 7•7 years ago
|
||
NI myself to request an uplift for this to 55.
Flags: needinfo?(gkruglov)
Comment 8•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7a3738e2de59 https://hg.mozilla.org/mozilla-central/rev/cd9b265eb8f6
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Assignee | ||
Comment 9•7 years ago
|
||
Approval Request Comment [Feature/Bug causing the regression]: Bug 1361664 [User impact if declined]: Rare startup crash [Is this code covered by automated tests?]: no [Has the fix been verified in Nightly?]: it's on nightly now, waiting a drop in crash-stats reports. [Needs manual test from QE? If yes, steps to reproduce]: no [List of other uplifts needed for the feature/fix]: n/a [Is the change risky?]: no [Why is the change risky/not risky?]: patch is a simple null check with some annotations added [String changes made/needed]: n/a
Flags: needinfo?(gkruglov)
Attachment #8879274 -
Flags: approval-mozilla-beta?
Updated•7 years ago
|
status-firefox54:
--- → unaffected
status-firefox55:
--- → affected
Comment 10•7 years ago
|
||
Comment on attachment 8879274 [details] [diff] [review] startup-crash-mma-beta.patch fix a fennec startup crash, beta55+
Attachment #8879274 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 11•7 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/32f08d453cfa https://hg.mozilla.org/releases/mozilla-beta/rev/4ae19caa371f
Updated•7 years ago
|
Whiteboard: [LP_M2]
Updated•7 years ago
|
Whiteboard: [LP_M2] → [LP_M1]
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
•