Closed Bug 830254 Opened 12 years ago Closed 12 years ago

Error: TypeError: reporter is null

Categories

(Firefox Health Report Graveyard :: Client: Desktop, defect)

x86_64
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rnewman, Assigned: gps)

Details

STR: * Launch a new profile. * Visit about:healthreport prior to having seen the info bar. Log contains: Error: TypeError: reporter is null Source File: chrome://browser/content/abouthealthreport/abouthealth.js Line: 29 which is: const reporter = Cc["@mozilla.org/datareporting/service;1"] .getService(Ci.nsISupports) .wrappedJSObject .healthReporter; function init() { refreshWithDataSubmissionFlag(reporter.willUploadData); // <<<< refreshJSONPayload(); document.getElementById("details-link").href = prefs.get("glossaryUrl"); }
reporter should always be non-null if FHR is enabled. Is about:healthreport not being guarded by MOZ_SERVICES_HEALTHREPORT? I'll look into this.
Assignee: nobody → gps
Status: NEW → ASSIGNED
Actually, given the confusion on IRC earlier, I'd like rnewman to reproduce this again before I look into it.
Flags: needinfo?(rnewman)
Must have been fixed by one of the recent changes.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Flags: needinfo?(rnewman)
Resolution: --- → WORKSFORME
Component: Metrics and Firefox Health Report → Client: Desktop
Product: Mozilla Services → Firefox Health Report
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in before you can comment on or make changes to this bug.