Closed
Bug 1270348
Opened 10 years ago
Closed 10 years ago
Crash in java.lang.NullPointerException: Attempt to invoke virtual method ''int android.graphics.Bitmap.getWidth()'' on a null object reference at org.mozilla.gecko.favicons.LoadFaviconTask.doInBackground(LoadFaviconTask.java)
Categories
(Firefox for Android Graveyard :: Favicon Handling, defect)
Tracking
(firefox48 affected, firefox49 fixed)
RESOLVED
FIXED
Firefox 49
People
(Reporter: jchen, Assigned: ahunt)
References
Details
(Keywords: crash)
Crash Data
Attachments
(1 file)
This bug was filed from the Socorro interface and is
report bp-b386c1be-cfbd-4edc-9456-9df282160503.
=============================================================
At [1], I think it's possible for 'b' to be null in some unusual situations such as OOM or the icon contains a bitmap of size 0. We should gracefully ignore that instead of crashing.
[1] https://mxr.mozilla.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/favicons/LoadFaviconTask.java?rev=369a5ee3a288#448
Comment 1•10 years ago
|
||
Blame points at bug 1238656.
| Assignee | ||
Comment 2•10 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/50891/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/50891/
Attachment #8749357 -
Flags: review?(s.kaspari)
| Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Flags: needinfo?(ahunt)
Comment 3•10 years ago
|
||
Comment on attachment 8749357 [details]
MozReview Request: Bug 1270348 - Favicon decoder can return null Bitmaps r?sebastian
https://reviewboard.mozilla.org/r/50891/#review48041
Attachment #8749357 -
Flags: review?(s.kaspari) → review+
| Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/6c0fd8ef15e3814e60e8e671ee185fdddc7be3c3
Bug 1270348 - Favicon decoder can return null Bitmaps r=sebastian
Comment 5•10 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
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
•