Closed
Bug 1239787
Opened 9 years ago
Closed 9 years ago
crash in java.lang.NullPointerException: at org.mozilla.gecko.tabqueue.TabQueueService$3.onClick(TabQueueService.java)
Categories
(Firefox for Android Graveyard :: Overlays, defect)
Tracking
(firefox44 fixed, firefox45 fixed, firefox46 fixed)
RESOLVED
FIXED
Firefox 46
People
(Reporter: sebastian, Assigned: sebastian)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
ahunt
:
review+
Sylvestre
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-release+
|
Details |
This bug was filed from the Socorro interface and is report bp-18b5d974-9862-4c22-81e8-d243f2160113. ============================================================= e.g.: https://crash-stats.mozilla.com/report/index/18b5d974-9862-4c22-81e8-d243f2160113
Assignee | ||
Comment 1•9 years ago
|
||
> java.lang.NullPointerException
> at org.mozilla.gecko.tabqueue.TabQueueService$3.onClick(TabQueueService.java:187)
Assignee | ||
Comment 2•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/31071/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/31071/
Attachment #8708511 -
Flags: review?(ahunt)
Assignee | ||
Comment 3•9 years ago
|
||
https://reviewboard.mozilla.org/r/31071/#review27901 ::: mobile/android/base/java/org/mozilla/gecko/tabqueue/TabQueueService.java (Diff revision 1) > - tabQueueHandler = null; I don't see the need to clear the Handler reference in onDestroy. The reference is not static so it's going away with the service instance anyways. Currently it can happen that we clear the reference and at the same time the user clicks on "Open" (OnClickListener implementation is accessing the Handler).
Comment 4•9 years ago
|
||
Comment on attachment 8708511 [details] MozReview Request: Bug 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r?ahunt https://reviewboard.mozilla.org/r/31071/#review27923 Looks good - that does seem unnecessary!
Attachment #8708511 -
Flags: review?(ahunt) → review+
Assignee | ||
Comment 5•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/38ba884086c7411f7b20cc3023e038939e1ced3d Bug 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r=ahunt
Comment 6•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/38ba884086c7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8708511 [details] MozReview Request: Bug 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r?ahunt Approval Request Comment [Feature/regressing bug #]: Saw this bug in our crashstats and fixed it. Requesting uplift to lower the crash rate. Crash reports: https://crash-stats.mozilla.com/report/list?range_unit=days&range_value=28&signature=java.lang.NullPointerException%3A+at+org.mozilla.gecko.tabqueue.TabQueueService%243.onClick%28TabQueueService.java%29#tab-reports [User impact if declined]: With tab queues the app can crash after the user clicked on "OPEN" in the tab queue overlay. [Describe test coverage new/current, TreeHerder]: This is not easy reproducible because you need to time the click exactly to trigger this NullPointerException (With lots of users this statistically happens nevertheless). [Risks and why]: Low - The patch avoid clearing the reference to early causing the NullPointerException. [String/UUID change made/needed]: -
Attachment #8708511 -
Flags: approval-mozilla-beta?
Attachment #8708511 -
Flags: approval-mozilla-aurora?
Comment on attachment 8708511 [details] MozReview Request: Bug 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r?ahunt One-liner Fennec crash fix. Taking it in Fennec 44.0 RC1
Attachment #8708511 -
Flags: approval-mozilla-beta? → approval-mozilla-release+
status-firefox44:
--- → affected
status-firefox45:
--- → affected
Comment 9•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-release/rev/e2b8b3494e56
Comment 10•9 years ago
|
||
Comment on attachment 8708511 [details] MozReview Request: Bug 1239787 - TabQueueService: Do not clear tabQueueHandler reference. r?ahunt Just like 44!
Attachment #8708511 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 11•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-aurora/rev/eff72cafd49d
Updated•4 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
•