Closed
Bug 774306
Opened 14 years ago
Closed 14 years ago
java.lang.NullPointerException: at org.mozilla.gecko.AboutHomeContent$10.run(AboutHomeContent.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox16 fixed)
RESOLVED
FIXED
Firefox 17
| Tracking | Status | |
|---|---|---|
| firefox16 | --- | fixed |
People
(Reporter: scoobidiver, Assigned: lucasr)
Details
(Keywords: crash, Whiteboard: [native-crash])
Crash Data
Attachments
(1 file)
|
6.16 KB,
patch
|
Margaret
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
There are 74 crashes in 14.0 Betas and one crash in 15.0a2: bp-0180c867-33e1-48cc-a429-8dc7c2120714.
java.lang.NullPointerException
at org.mozilla.gecko.AboutHomeContent$10.run(AboutHomeContent.java:480)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4575)
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:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
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.AboutHomeContent%2410.run%28AboutHomeContent.java%29
Comment 1•14 years ago
|
||
It looks like mFavicons might not be initialized when we try to use it here:
http://hg.mozilla.org/releases/mozilla-aurora/annotate/tip/mobile/android/base/AboutHomeContent.java#l479
mFavicons is initialized in the delayed initialize() method:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/GeckoApp.java#1888
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → lucasr.at.mozilla
| Assignee | ||
Comment 2•14 years ago
|
||
Attachment #642930 -
Flags: review?(margaret.leibovic)
Comment 3•14 years ago
|
||
Comment on attachment 642930 [details] [diff] [review]
Protect access to mFavicons behind a getter
Nice.
Attachment #642930 -
Flags: review?(margaret.leibovic) → review+
| Assignee | ||
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
| Assignee | ||
Comment 6•14 years ago
|
||
Comment on attachment 642930 [details] [diff] [review]
Protect access to mFavicons behind a getter
[Approval Request Comment]
Need this patch in aurora in order to land the fix for bug 774306. This patch fixes a crash. Indirect dependence for Reader Mode which is in the Firefox 16 roadmap.
Attachment #642930 -
Flags: approval-mozilla-aurora?
Comment 7•14 years ago
|
||
(In reply to Lucas Rocha (:lucasr) from comment #6)
> [Approval Request Comment]
> Need this patch in aurora in order to land the fix for bug 774306.
Did you mean to suggest that there would be a followup for this patch once landed? Or is that the wrong bug #?
| Assignee | ||
Comment 8•14 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #7)
> (In reply to Lucas Rocha (:lucasr) from comment #6)
> > [Approval Request Comment]
> > Need this patch in aurora in order to land the fix for bug 774306.
>
> Did you mean to suggest that there would be a followup for this patch once
> landed? Or is that the wrong bug #?
Sorry, I should have been more clear. I tried to land my patch for bug 774306 (reader fix) but it depends on the fix for this bug. So, I need to land the fix for this bug in Aurora to be able to land the fix for bug 774306.
Comment 9•14 years ago
|
||
(In reply to Lucas Rocha (:lucasr) from comment #8)
> (In reply to Alex Keybl [:akeybl] from comment #7)
> > (In reply to Lucas Rocha (:lucasr) from comment #6)
> > > [Approval Request Comment]
> > > Need this patch in aurora in order to land the fix for bug 774306.
> >
> > Did you mean to suggest that there would be a followup for this patch once
> > landed? Or is that the wrong bug #?
>
> Sorry, I should have been more clear. I tried to land my patch for bug
> 774306 (reader fix) but it depends on the fix for this bug. So, I need to
> land the fix for this bug in Aurora to be able to land the fix for bug
> 774306.
Lucas - are you intending to link to another bug? You're referencing _this_ bug :)
| Assignee | ||
Comment 10•14 years ago
|
||
(In reply to Lukas Blakk [:lsblakk] from comment #9)
> (In reply to Lucas Rocha (:lucasr) from comment #8)
> > (In reply to Alex Keybl [:akeybl] from comment #7)
> > > (In reply to Lucas Rocha (:lucasr) from comment #6)
> > > > [Approval Request Comment]
> > > > Need this patch in aurora in order to land the fix for bug 774306.
> > >
> > > Did you mean to suggest that there would be a followup for this patch once
> > > landed? Or is that the wrong bug #?
> >
> > Sorry, I should have been more clear. I tried to land my patch for bug
> > 774306 (reader fix) but it depends on the fix for this bug. So, I need to
> > land the fix for this bug in Aurora to be able to land the fix for bug
> > 774306.
>
> Lucas - are you intending to link to another bug? You're referencing _this_
> bug :)
Oops, I meant bug 767738 :-)
Comment 11•14 years ago
|
||
Comment on attachment 642930 [details] [diff] [review]
Protect access to mFavicons behind a getter
Thanks for clearing that up, approving.
Attachment #642930 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 12•14 years ago
|
||
Pushed to aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/a13e10835394
| Reporter | ||
Updated•14 years ago
|
status-firefox16:
--- → fixed
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
•