Closed
Bug 1030740
Opened 10 years ago
Closed 10 years ago
NPE in HealthReportBroadcastService.onHandleIntent
Categories
(Android Background Services Graveyard :: Core, defect)
Tracking
(firefox30 wontfix, firefox31 fixed, firefox32 fixed, firefox33 fixed, fennec31+)
RESOLVED
FIXED
Firefox 33
People
(Reporter: blassey, Assigned: rnewman)
References
Details
Attachments
(1 file, 2 obsolete files)
7.26 KB,
patch
|
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
54 reports on beta
java.lang.NullPointerException
at org.mozilla.gecko.background.healthreport.HealthReportBroadcastService.onHandleIntent(HealthReportBroadcastService.java:104)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
The code logs "Short-circuiting on null intent." after checking for a null intent, but then continues on using the intent.
https://mxr.mozilla.org/mozilla-beta/source/mobile/android/base/background/healthreport/HealthReportBroadcastService.java#104
Reporter | ||
Comment 1•10 years ago
|
||
Assignee: nobody → blassey.bugs
Attachment #8446540 -
Flags: review?(rnewman)
Reporter | ||
Comment 2•10 years ago
|
||
Attachment #8446541 -
Flags: review?(rnewman)
Comment 3•10 years ago
|
||
Dupe of bug 1025937 which already has fixes.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment 5•10 years ago
|
||
Not a dupe. Bug 1025937 only logs that the intent is null. I don't see how it avoids the null intent.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 6•10 years ago
|
||
Showing the magical powers of code review -- all of those log statements in Bug 1025937 should have returns, too.
This needs upstreaming, and should be uplifted to follow those incomplete patches. I'm going to steal this so Brad doesn't have to fiddle with pull requests.
Assignee: blassey.bugs → rnewman
Blocks: 1025937
Status: REOPENED → ASSIGNED
Component: General → Core
OS: Mac OS X → Android
Product: Firefox for Android → Android Background Services
Hardware: x86 → All
Version: Trunk → unspecified
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
status-firefox30:
--- → wontfix
status-firefox31:
--- → affected
status-firefox32:
--- → affected
status-firefox33:
--- → affected
Assignee | ||
Comment 8•10 years ago
|
||
r+ from mcomella in PR.
https://hg.mozilla.org/integration/fx-team/rev/9ef5a684289f
Assignee | ||
Updated•10 years ago
|
Attachment #8446540 -
Attachment is obsolete: true
Attachment #8446540 -
Flags: review?(rnewman)
Assignee | ||
Updated•10 years ago
|
Attachment #8446541 -
Attachment is obsolete: true
Attachment #8446541 -
Flags: review?(rnewman)
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8446622 [details] [diff] [review]
Patch for uplift.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
Giant fail in Bug 1025937: only added logging statements, so didn't fix the bug. This is what we *meant* to land and uplift in that bug.
User impact if declined:
Crashes.
Testing completed (on m-c, etc.):
Just landed, but this is an obviously safe change.
Risk to taking this patch (and alternatives if risky):
None.
String or IDL/UUID changes made by this patch:
None.
Attachment #8446622 -
Flags: approval-mozilla-beta?
Attachment #8446622 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
tracking-fennec: ? → 31+
Comment 11•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
Updated•10 years ago
|
Updated•10 years ago
|
Attachment #8446622 -
Flags: approval-mozilla-beta?
Attachment #8446622 -
Flags: approval-mozilla-beta+
Attachment #8446622 -
Flags: approval-mozilla-aurora?
Attachment #8446622 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 12•10 years ago
|
||
Thanks for the catch, Brad, and for the quick approval, Sylvestre!
https://hg.mozilla.org/releases/mozilla-aurora/rev/731a5e8831e6
https://hg.mozilla.org/releases/mozilla-beta/rev/59972f15a8bf
You need to log in
before you can comment on or make changes to this bug.
Description
•