Closed
Bug 878415
Opened 12 years ago
Closed 12 years ago
java.lang.NullPointerException: at org.mozilla.gecko.ActivityHandlerHelper$6.gotIntent(ActivityHandlerHelper.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox23 unaffected, firefox24+ fixed)
VERIFIED
FIXED
Firefox 24
| Tracking | Status | |
|---|---|---|
| firefox23 | --- | unaffected |
| firefox24 | + | fixed |
People
(Reporter: scoobidiver, Assigned: wesj)
References
Details
(4 keywords, Whiteboard: [native-crash])
Crash Data
Attachments
(1 file)
|
3.58 KB,
patch
|
liuche
:
review+
|
Details | Diff | Splinter Review |
There's one crash in 24.0a1/20130531: bp-26edd23c-6939-4b6b-a857-297e12130531.
java.lang.NullPointerException
at org.mozilla.gecko.ActivityHandlerHelper$6.gotIntent(ActivityHandlerHelper.java:319)
at org.mozilla.gecko.ActivityHandlerHelper$3.onPromptFinished(ActivityHandlerHelper.java:212)
at org.mozilla.gecko.Prompt.finishDialog(Prompt.java:473)
at org.mozilla.gecko.Prompt.onCancel(Prompt.java:453)
at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1259)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4561)
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:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
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.ActivityHandlerHelper%246.gotIntent%28ActivityHandlerHelper.java%29
| Reporter | ||
Comment 1•12 years ago
|
||
Hit by other users. The regression range might be (discontinuous across builds):
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f66d956d188e&tochange=3c6f2394995d
A comment says: "If I choose file and touch back key, Nightly have crashed".
So it's likely a regression from bug 874689.
Comment 2•12 years ago
|
||
I can reproduce the crash on the latest Nightly build.
Steps:
1. Go to about:memory and press Load
2. Hit back to dismiss the "Choose File" screen
Actual: Nightly crashes
This issue was introduced in Nightly 2013-05-31
Keywords: reproducible
Updated•12 years ago
|
Assignee: nobody → wjohnston
| Reporter | ||
Comment 3•12 years ago
|
||
It's #7 top crasher in 24.0a1.
Updated•12 years ago
|
Comment 4•12 years ago
|
||
I hit this using http://mysecondwebrtc.appspot.com/ hitting the input button
Comment 5•12 years ago
|
||
(hitting the Choose Button input, and then hitting the back button)
| Assignee | ||
Comment 6•12 years ago
|
||
Forgot the return statement here.
I added another null check as well and figured I would leave it in (we still show the file picker, so you could potentially show one and not care about the result?). I also reordered some string comparisons to ensure the left hand side isn't null.
Attachment #760646 -
Flags: review?(liuche)
Comment 7•12 years ago
|
||
Comment on attachment 760646 [details] [diff] [review]
Patch
Review of attachment 760646 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me. The null checks don't seem necessary atm since the handler passed in is never null. Perhaps add a method comment for showFilePickerIntentAsync and getFilePickerAsync explicitly saying null handler is ok when you don't care about the activity result.
Attachment #760646 -
Flags: review?(liuche) → review+
| Assignee | ||
Comment 8•12 years ago
|
||
Added some comments and pushed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/28d0bf47817c
Comment 9•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Updated•12 years ago
|
tracking-fennec: ? → ---
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
•