Closed
Bug 1289892
Opened 9 years ago
Closed 9 years ago
Crash in java.lang.NullPointerException: Attempt to get length of null array at org.mozilla.gecko.telemetry.stores.TelemetryJSONFilePingStore.maybePrunePings(TelemetryJSONFilePingStore.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox51 fixed)
RESOLVED
FIXED
Firefox 51
| Tracking | Status | |
|---|---|---|
| firefox51 | --- | fixed |
People
(Reporter: jchen, Assigned: Tobbi)
Details
(Keywords: crash)
Crash Data
Attachments
(1 file, 1 obsolete file)
|
965 bytes,
patch
|
Grisha
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is
report bp-166863cb-a2f1-4756-a351-0dbb32160727.
=============================================================
Low volume crash first seen in the 20160719030224 nightly. The cause is storeDir.listFiles returning null in TelemetryJSONFilePingStore.maybePrunePings. This could indicate an IO error or that the directory does not exist. In either case, I think we should simply return here, so the fix is a simple null-check.
| Assignee | ||
Comment 1•9 years ago
|
||
Related: bug 1289006
Fix should be the same. Taking this.
Assignee: nobody → tobbi.bugs
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•9 years ago
|
||
| Assignee | ||
Updated•9 years ago
|
Attachment #8775825 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•9 years ago
|
||
Who is the best person to request review for this?
| Assignee | ||
Updated•9 years ago
|
Attachment #8775828 -
Flags: review?(gkruglov)
Comment 4•9 years ago
|
||
Comment on attachment 8775828 [details] [diff] [review]
patch
Review of attachment 8775828 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM.
Attachment #8775828 -
Flags: review?(gkruglov) → review+
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/f3f6e368b95e
Return gracefully if listFiles returns null. r=gkruglov
Keywords: checkin-needed
Comment 6•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
Comment 7•8 years ago
|
||
I've also seen this as an OOM crash.
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
•