Closed
Bug 1030738
Opened 10 years ago
Closed 10 years ago
NullPointerException when accessing ActionBar
Categories
(Firefox for Android Graveyard :: Settings and Preferences, defect)
Tracking
(firefox31+ verified, firefox32+ verified, firefox33 verified, fennec31+)
VERIFIED
FIXED
Firefox 33
People
(Reporter: blassey, Assigned: blassey)
References
Details
(Keywords: crash)
Attachments
(2 files)
1.79 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
1.16 KB,
patch
|
rnewman
:
review+
lmandel
:
approval-mozilla-aurora+
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
seeing this in our beta crashes in google play. According to the docs [1], this method can return null, but we use it directly in our code [2]. [1] http://developer.android.com/reference/android/app/Activity.html#getActionBar%28%29 [2] https://mxr.mozilla.org/mozilla-beta/source/mobile/android/base/preferences/GeckoPreferences.java#170
Assignee | ||
Comment 1•10 years ago
|
||
We'll need a different patch for beta. I haven't looked at aurora.
Assignee: nobody → blassey.bugs
Attachment #8446527 -
Flags: review?(rnewman)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8446537 -
Flags: review?(rnewman)
Updated•10 years ago
|
Comment 3•10 years ago
|
||
Comment on attachment 8446527 [details] [diff] [review] getActionBar.patch Review of attachment 8446527 [details] [diff] [review]: ----------------------------------------------------------------- Nit: braces around conditionals.
Attachment #8446527 -
Flags: review?(rnewman) → review+
Updated•10 years ago
|
Status: NEW → ASSIGNED
Hardware: ARM → All
Summary: NullPointerException when getting action bar → NullPointerException when accessing ActionBar
Updated•10 years ago
|
status-firefox31:
--- → affected
status-firefox32:
--- → ?
status-firefox33:
--- → affected
Component: General → Settings and Preferences
Comment 4•10 years ago
|
||
Comment on attachment 8446537 [details] [diff] [review] getActionBar_beta.patch Review of attachment 8446537 [details] [diff] [review]: ----------------------------------------------------------------- ::: mobile/android/base/preferences/GeckoPreferences.java @@ +1,2 @@ > /* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*- > + Source Code Form is subject to the terms of the Mozilla Public Looks like an accidental deletion here...
Attachment #8446537 -
Flags: review?(rnewman) → review+
Assignee | ||
Updated•10 years ago
|
tracking-fennec: ? → 31+
Comment 5•10 years ago
|
||
Push backed out for robocop-1 failures in testMasterPassword: https://tbpl.mozilla.org/php/getParsedLog.php?id=42625238&tree=Fx-Team https://tbpl.mozilla.org/php/getParsedLog.php?id=42624677&tree=Fx-Team remote: https://hg.mozilla.org/integration/fx-team/rev/18afe25e9df9 remote: https://hg.mozilla.org/integration/fx-team/rev/cf633fa6f40b remote: https://hg.mozilla.org/integration/fx-team/rev/a033a0b332eb
Comment 6•10 years ago
|
||
Brad's original landing, for posterity: https://hg.mozilla.org/integration/fx-team/rev/a9f445169eca
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d33ca5cb5df3
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Assignee | ||
Comment 8•10 years ago
|
||
Comment on attachment 8446537 [details] [diff] [review] getActionBar_beta.patch Review of attachment 8446537 [details] [diff] [review]: ----------------------------------------------------------------- Top crash in the android play store reporting (before our crash reporting gets hooked up)
Attachment #8446537 -
Flags: approval-mozilla-beta?
Attachment #8446537 -
Flags: approval-mozilla-aurora?
Comment 9•10 years ago
|
||
Brad, could you fill the uplift request form? we need it before approving any patch. Thanks
Flags: needinfo?(blassey.bugs)
Assignee | ||
Comment 10•10 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #9) > Brad, could you fill the uplift request form? we need it before approving > any patch. Thanks The form is a guide, not a requirement. This is a null check to fix a top crash. I can approve it myself if you'd rather.
Flags: needinfo?(blassey.bugs)
Comment 11•10 years ago
|
||
Comment on attachment 8446537 [details] [diff] [review] getActionBar_beta.patch While it is generally beneficial to provide the information requested in a standard format, in this bug we do have all the information that we need to proceed. Approved for Beta and Aurora.
Attachment #8446537 -
Flags: approval-mozilla-beta?
Attachment #8446537 -
Flags: approval-mozilla-beta+
Attachment #8446537 -
Flags: approval-mozilla-aurora?
Attachment #8446537 -
Flags: approval-mozilla-aurora+
Updated•10 years ago
|
Updated•10 years ago
|
Comment 12•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/e9de3d835ecc https://hg.mozilla.org/releases/mozilla-beta/rev/025d96672f65
Comment 13•10 years ago
|
||
Verified as fixed in builds: - 33.0a1 (2014-07-08); - 32.0a2 (2014-07-08); - 31 Beta 8; Device: Google Nexus 10 (Android 4.4.2)
Status: RESOLVED → VERIFIED
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
•