Closed Bug 878539 Opened 12 years ago Closed 9 years ago

java.lang.NullPointerException: at org.mozilla.gecko.GeckoPreferences.onCreate(GeckoPreferences.java)

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
critical

Tracking

(firefox21 affected, firefox24 affected)

RESOLVED WORKSFORME
Tracking Status
firefox21 --- affected
firefox24 --- affected

People

(Reporter: scoobidiver, Unassigned)

Details

(Keywords: crash, Whiteboard: [native-crash])

Crash Data

There are 16 crashes in 21.0 and two in 24.0a1: bp-d88c349c-8c48-4f07-9e0d-527452130602. java.lang.NullPointerException at org.mozilla.gecko.GeckoPreferences.onCreate(GeckoPreferences.java:98) at android.app.Activity.performCreate(Activity.java:5104) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2357) at android.app.ActivityThread.access$600(ActivityThread.java:153) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5226) 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:795) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:110) at dalvik.system.NativeStart.main(Native Method) More reports at: https://crash-stats.mozilla.com/report/list?signature=java.lang.NullPointerException%3A+at+org.mozilla.gecko.GeckoPreferences.onCreate%28GeckoPreferences.java%29
We should probably guard against getActionBar() returning null here. Note that XposedBridge appears to be an app that allows users to launch other apps in "tablet mode" or "phone mode", so this might not happen on non-rooted android devices.
Crash Signature: [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoPreferences.onCreate(GeckoPreferences.java)] → [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoPreferences.onCreate(GeckoPreferences.java)] [@ java.lang.NullPointerException: at org.mozilla.gecko.GeckoPreferences.onCreate]
Hey guys, Im completely newbie in these open source stuff. Do you think its possible to fix this by me with some kind hints from you? Thanks.
This signature is not active any more. No crashes in recent builds. rychljir you should look at http://www.joshmatthews.net/bugsahoy/ for bugs with mentors.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
Ok, great. Thank you very much for your reply.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.