Closed
Bug 930160
Opened 11 years ago
Closed 11 years ago
crash in java.lang.NullPointerException: at org.mozilla.gecko.home.TopSitesPage$1.onItemClick(TopSitesPage.java)
Categories
(Firefox for Android Graveyard :: Awesomescreen, defect)
Tracking
(firefox26 affected, firefox27 affected)
RESOLVED
FIXED
Firefox 29
People
(Reporter: aaronmt, Assigned: lucasr)
References
Details
(Keywords: crash)
Crash Data
Attachments
(2 files)
1.30 KB,
patch
|
lucasr
:
review-
|
Details | Diff | Splinter Review |
1.00 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-80fee604-f17c-49b4-b5a8-731f92131022.
=============================================================
java.lang.NullPointerException
at org.mozilla.gecko.home.TopSitesPage$1.onItemClick(TopSitesPage.java:174)
at org.mozilla.gecko.home.HomeListView$1.onItemClick(HomeListView.java:112)
at android.widget.AdapterView.performItemClick(AdapterView.java:297)
Comment 1•11 years ago
|
||
Not sure what could cause the grid adapter to be null.
Prevention is better than cure.
Attachment #821904 -
Flags: review?(lucasr.at.mozilla)
Comment 2•11 years ago
|
||
Comment on attachment 821904 [details] [diff] [review]
Patch
Is it OK to continue in the function? Or should we just return? Just asking.
Comment 3•11 years ago
|
||
The function should continue. We're just averting a crash (when the gridAdapter is null -- which means, no grid is shown -- which is weird).
Assignee | ||
Comment 4•11 years ago
|
||
Comment on attachment 821904 [details] [diff] [review]
Patch
Review of attachment 821904 [details] [diff] [review]:
-----------------------------------------------------------------
Same here, I'd prefer to wait for steps to reproduce before landing something like this. This can be a symptom of a broader bug in our UI that we don't want to hide. Unless this is a top crasher?
Attachment #821904 -
Flags: review?(lucasr.at.mozilla) → review-
Comment 5•11 years ago
|
||
Ok, possible STR:
Open nightly.
Have about:home opened to Top Sites
Tap one of the links (not the top site screengrabs) quickly and repeatedly (over 5 times) and you will crash
Assignee | ||
Comment 6•11 years ago
|
||
Sriram, could you have a look at this again and see if you can find the root cause of this bug? Tyler has provided STR in comment #5.
Flags: needinfo?(sriram)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sriram
Assignee | ||
Updated•11 years ago
|
Keywords: steps-wanted
Reporter | ||
Comment 7•11 years ago
|
||
26 is affected here according to the summary in comment #0, although the number of crashes is quite small.
status-firefox26:
--- → affected
Reporter | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Updated•11 years ago
|
Assignee: sriram.mozilla → nobody
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → lucasr.at.mozilla
Assignee | ||
Comment 9•11 years ago
|
||
Assignee | ||
Comment 10•11 years ago
|
||
Comment on attachment 8364334 [details] [diff] [review]
Discard item clicks on top sites after the fragment gets destroyed (r=mfinkle)
Managed to reproduce this locally using the STR from comment #5. It seems there's a short window of time where pending item click events might get handled after the fragment gets destroyed.
Attachment #8364334 -
Flags: review?(mark.finkle)
Updated•11 years ago
|
Attachment #8364334 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(sriram.mozilla)
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
•