nsIDOMWindowUtils.FindElementWithViewId uncaught exception - failure code: 0x80040111

VERIFIED FIXED in Firefox 7

Status

Fennec Graveyard
General
VERIFIED FIXED
6 years ago
6 years ago

People

(Reporter: Ioana Chiorean, Assigned: stechz)

Tracking

Trunk
Firefox 7
ARM
Android

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:6.0a1)Gecko/20110517
Firefox/6.0a1 Fennec/6.0a1
Device: Google Nexus S
OS: Android 2.3

I got the error after testing with Zippity but I don't know if it is related to this test run. 

Error text:
uncaught exception: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIDOMWindowUtils.FindElementWithViewId]" nresult: "0x800040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: chrome://browser/content/bindings/browserjs ::  <TOP_LEVEL> :: line 336" data:no]

Screenshot: https://picasaweb.google.com/116017172139610272348/WORK#5607693701711723730

Comment 1

6 years ago
also reproduced by simply loading this URL.  can repro on Xoom also.

https://support.mozilla.com/en-US/kb/sync-firefox-between-desktop-and-mobile
It's reproducing also on:
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:6.0a1)Gecko/20110517
Firefox/6.0a1 Fennec/6.0a1
Device: HTC Desire
OS: Android 2.2

I've browsed to http://wwww.mozilla.com/en-US/m/ and for every webpage refresh it's displayed again in error console.
Created attachment 533212 [details]
error screenshot

I've noticed another error on:
Build id : Mozilla/5.0 (Android;Linux armv7l;rv:6.0a1)Gecko/20110517
Firefox/6.0a1 Fennec/6.0a1
Device: HTC Desire
OS: Android 2.2

uncaught exception: [Exception... "Component returned failure
code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE)
[nsIDOMWindowUtils.setDisplayPortForElement]" nsresult:
"0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame ::
chrome://browser/content/bindings/browser.js :: <TOP_LEVEL> ::
line 445" data:no]
Ben - I'm worried this bug could be hiding other issues. Can you do some investigation?
Assignee: nobody → ben
tracking-fennec: --- → ?
(In reply to comment #4)
> Ben - I'm worried this bug could be hiding other issues. Can you do some
> investigation?

I've hit this when trying to reproduce bug 658315 so this it could be dupe. I also have added a stack in bug 658315 :)
(Assignee)

Comment 6

6 years ago
Created attachment 536343 [details] [diff] [review]
nsIDOMWindowUtils.FindElementWithViewId uncaught exception
Attachment #536343 - Flags: review?(mbrubeck)
(Assignee)

Comment 7

6 years ago
This is a pretty harmless error, but a try/catch fixes it. We return not available if the presshell isn't around yet:
http://mxr.mozilla.org/mozilla-central/source/dom/base/nsDOMWindowUtils.cpp#1053
Attachment #536343 - Flags: review?(mbrubeck) → review+
tracking-fennec: ? → 7+
fyi: just hitting the submit button will spark 2 of these errors on : http://people.mozilla.com/~nhirata/html_tp/formsninput.html
(Assignee)

Comment 9

6 years ago
Pushed http://hg.mozilla.org/mozilla-central/rev/ddf82c182c85
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 7

Comment 10

6 years ago
VERIFIED FIXED on:

Build Id: Mozilla /5.0 (Android;Linux armv7l;rv:7.0a1) Gecko/20110610 Firefox/7.0a1 Fennec/7.0a1 

Device: HTC Desire Z (Android 2.2)
Status: RESOLVED → VERIFIED

Updated

6 years ago
status-firefox7: --- → fixed
You need to log in before you can comment on or make changes to this bug.