Closed
Bug 1030743
Opened 11 years ago
Closed 11 years ago
NullPointerExceptions in GeckoPreferences
Categories
(Firefox for Android Graveyard :: Settings and Preferences, defect)
Tracking
(firefox31+ fixed, firefox32+ fixed, firefox33 fixed, fennec31+)
RESOLVED
FIXED
Firefox 33
People
(Reporter: blassey, Assigned: blassey)
References
Details
Attachments
(1 file)
|
2.40 KB,
patch
|
rnewman
:
review+
lmandel
:
approval-mozilla-aurora+
lmandel
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
reported through google play
We're calling GeckoAppShell.getContext(), but GeckoPreferences is a context so we shouldn't need to.
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.mozilla.firefox_beta/org.mozilla.gecko.preferences.GeckoPreferences}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2249)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2299)
at android.app.ActivityThread.access$700(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1284)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5306)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at org.mozilla.gecko.GeckoAppShell.getContext(GeckoAppShell.java:2070)
at org.mozilla.gecko.preferences.GeckoPreferences.getTextBox(GeckoPreferences.java:634)
at org.mozilla.gecko.preferences.GeckoPreferences.onCreateDialog(GeckoPreferences.java:705)
at android.app.Activity.onCreateDialog(Activity.java:3029)
at android.app.Activity.createDialog(Activity.java:1010)
at android.app.Activity.restoreManagedDialogs(Activity.java:999)
at android.app.Activity.performRestoreInstanceState(Activity.java:945)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1148)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2227)
... 11 more
| Assignee | ||
Comment 1•11 years ago
|
||
Assignee: nobody → blassey.bugs
Attachment #8446529 -
Flags: review?(rnewman)
Comment 2•11 years ago
|
||
Dupe of bug 1025931 in which you've already written and attached a patch?
Updated•11 years ago
|
Attachment #8446529 -
Flags: review?(rnewman) → review+
Updated•11 years ago
|
Status: NEW → ASSIGNED
status-firefox31:
--- → ?
status-firefox32:
--- → ?
status-firefox33:
--- → ?
Component: General → Settings and Preferences
OS: Mac OS X → Android
Hardware: x86 → All
Updated•11 years ago
|
tracking-fennec: ? → 31+
Comment 3•11 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 4•11 years ago
|
||
Brad's original landing:
https://hg.mozilla.org/integration/fx-team/rev/1bb1e5ed3272
Comment 5•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
| Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8446529 [details] [diff] [review]
NPE_getContext_GeckoPreferences.patch
Review of attachment 8446529 [details] [diff] [review]:
-----------------------------------------------------------------
Top crash in the android play store reporting (before our crash reporting gets hooked up)
Attachment #8446529 -
Flags: approval-mozilla-beta?
Attachment #8446529 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
tracking-firefox31:
--- → +
tracking-firefox32:
--- → +
Comment 7•11 years ago
|
||
Comment on attachment 8446529 [details] [diff] [review]
NPE_getContext_GeckoPreferences.patch
Simple fix. Approved for Beta and Aurora.
Attachment #8446529 -
Flags: approval-mozilla-beta?
Attachment #8446529 -
Flags: approval-mozilla-beta+
Attachment #8446529 -
Flags: approval-mozilla-aurora?
Attachment #8446529 -
Flags: approval-mozilla-aurora+
Comment 8•11 years ago
|
||
Updated•5 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
•