Closed Bug 799964 Opened 12 years ago Closed 12 years ago

TypeError: document.location is null

Categories

(Add-on SDK Graveyard :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 769483

People

(Reporter: alex_mayorga, Unassigned)

Details

On Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:19.0) Gecko/19.0 Firefox/19.0 ID:20121010030605 many of these errors appear in "Error Console" when using Dietrich Ayala's Wallflower[1]:

Error: An exception occurred.
Traceback (most recent call last):
  File "resource://gre/modules/AddonRepository.jsm", line 1393, in beginSearch_loadListener
    aHandleResults(elements, totalResults, compatData);
  File "resource://gre/modules/AddonRepository.jsm", line 768, in handleResults
    let result = self._parseAddon(aElements[i], null, aCompatData);
  File "resource://gre/modules/AddonRepository.jsm", line 993, in AddonRepo_parseAddon
    addon[HTML_KEY_MAP[localName]] = convertHTMLToPlainText(this._getTextContent(node));
  File "resource://gre/modules/AddonRepository.jsm", line 104, in convertHTMLToPlainText
    output, {});
  File "resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/system/events.js", line 58, in 
    data: data
  File "resource://jid1-ub4sjepvr2m4qq-at-jetpack/api-utils/lib/l10n/html.js", line 50, in onContentWindow
    if (document.location.href.indexOf(assetsURI) !== 0)
TypeError: document.location is null

Filing this bug per KWierso's request on mozillaZine[2].

1| https://addons.mozilla.org/en-US/firefox/addon/wallflower-1
2| http://forums.mozillazine.org/viewtopic.php?p=12355853#p12355853
Erik, could you take a look at this?
Flags: needinfo?(evold)
Whiteboard: [triage:followup]
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(evold)
Whiteboard: [triage:followup]
You need to log in before you can comment on or make changes to this bug.