Closed Bug 1151484 Opened 10 years ago Closed 10 years ago

NPE at org.mozilla.gecko.reading.ReadingListSyncAdapter.onPerformSync

Categories

(Android Background Services Graveyard :: Reading List Sync, defect)

All
Android
defect
Not set
normal

Tracking

(firefox38 fixed, firefox39 fixed, firefox40 fixed)

RESOLVED FIXED
Firefox 40
Tracking Status
firefox38 --- fixed
firefox39 --- fixed
firefox40 --- fixed

People

(Reporter: Margaret, Assigned: rnewman)

Details

Attachments

(1 file)

E/FxReadingList(21147): java.lang.NullPointerException E/FxReadingList(21147): at org.mozilla.gecko.reading.ReadingListSyncAdapter.onPerformSync(ReadingListSyncAdapter.java:263) E/FxReadingList(21147): at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:259)
Ah. latch.poll returns null on timeout. Easy fix.
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Attached file Pull request
Attachment #8588636 - Flags: review?(nalexander)
Comment on attachment 8588636 [details] [review] Pull request Aye, sorry to miss it.
Attachment #8588636 - Flags: review?(nalexander) → review+
Comment on attachment 8588636 [details] [review] Pull request Approval Request Comment [Feature/regressing bug #]: Error handling in syncadapter. [User impact if declined]: In timeout situations, an error will be dumped to the system log and sync scheduling will be affected. [Describe test coverage new/current, TreeHerder]: None. [Risks and why]: Low risk: the bug is that a default value of ERROR is being overwritten by null in some circumstances. This sets it back to ERROR in those cases. [String/UUID change made/needed]: None.
Attachment #8588636 - Flags: approval-mozilla-beta?
Attachment #8588636 - Flags: approval-mozilla-aurora?
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Attachment #8588636 - Flags: approval-mozilla-beta?
Attachment #8588636 - Flags: approval-mozilla-beta+
Attachment #8588636 - Flags: approval-mozilla-aurora?
Attachment #8588636 - Flags: approval-mozilla-aurora+
Should be in 38 beta 4.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: