Closed Bug 639092 Opened 13 years ago Closed 12 years ago

Error: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name]" nsresult: "0x80004001

Categories

(Toolkit :: Password Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: trappmanrhett, Assigned: MattN)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 6.0; rv:2.0b13pre) Gecko/20110228 Firefox/4.0b13pre
Build Identifier: Mozilla/5.0 (Windows NT 6.0; rv:2.0b13pre) Gecko/20110228 Firefox/4.0b13pre

Error: [Exception... "Component returned failure code: 0x80004001 (NS_ERROR_NOT_IMPLEMENTED) [nsIRequest.name]"  nsresult: "0x80004001 (NS_ERROR_NOT_IMPLEMENTED)"  location: "JS frame :: resource://gre/components/nsLoginManager.js :: <TOP_LEVEL> :: line 293"  data: no]
Source File: resource://gre/components/nsLoginManager.js
Line: 293

Reproducible: Sometimes
Version: unspecified → Trunk
Component: Build Config → General
QA Contact: build.config → general
Does the issue still occur if you start Firefox in Safe Mode?
http://support.mozilla.com/en-US/kb/Safe+Mode

How about with a new, empty profile?
http://support.mozilla.com/en-US/kb/Basic+Troubleshooting#Make_a_new_profile

What are the steps to reproduce?
When "Safe Mode" started I received:

Error: Warning: unrecognized command line flag -safe-mode

Source File: resource://gre/components/nsBrowserContentHandler.js
Line: 807

"Components.utils.reportError("Warning: unrecognized command line flag " + curarg + "\n");"

and the profile is new, new installation.
This problem occurs on pages that have login information saved in Firefox.
OS: All → Windows Vista
Similar/Dupe to Bug 630320?
Component: General → Password Manager
Product: Firefox → Toolkit
QA Contact: general → password.manager
OS: Windows Vista → All
Whiteboard: [dupeme?]
Reporter -> Are you still experiencing this issue with the latest version of Firefox 6? Does the issue occur with the latest nightly? http://nightly.mozilla.org/
I am still able to experience the issue in Firefox 6.02 version randomly.
I can reproduce this error on trunk with the STR from http://chris.weekly.org/blog/2009/05/11/firefox-and-ns_error_not_implemented which is to use "View selection source" from the context menu of a page after selecting text.  nsIRequest.name seems to only be used in the debug logging from a listener so this shouldn't be causing any real problems.  I've attached a patch to catch the exception though.
Assignee: nobody → mnoorenberghe
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #560579 - Flags: review?(dolske)
Attachment #560579 - Flags: review?(dolske) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/03188e4fd200
Status: NEW → ASSIGNED
Whiteboard: [dupeme?]
https://hg.mozilla.org/mozilla-central/rev/03188e4fd200
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla9
Comment on attachment 560579 [details] [diff] [review]
v.1 catch NS_ERROR_NOT_IMPLEMENTED for nsIRequest.name

>diff --git a/toolkit/components/passwordmgr/nsLoginManager.js b/toolkit/components/passwordmgr/nsLoginManager.js
>--- a/toolkit/components/passwordmgr/nsLoginManager.js
>+++ b/toolkit/components/passwordmgr/nsLoginManager.js
>@@ -288,10 +288,18 @@
>             // Only process things which might have HTML forms.
>             if (!(domDoc instanceof Ci.nsIDOMHTMLDocument))
>                 return;
>-
>-            this._pwmgr.log("onStateChange accepted: req = " +
>-                            (aRequest ?  aRequest.name : "(null)") +
>-                            ", flags = 0x" + aStateFlags.toString(16));
>+            if (this._pwmgr._debug) {
>+                let requestName = "(null)";
>+                if (aRequest) {
>+                    try {
>+                        requestName = aRequest.name;
>+                    } catch (ex if ex.result == Components.results.NS_ERROR_NOT_IMPLEMENTED) {
>+                        // do nothing - leave requestName = "(null)"
>+                    }
>+                }
>+                this._pwmgr.log("onStateChange accepted: req = " + requestName +
>+                                ", flags = 0x" + aStateFlags.toString(16));
>+            }
> 
>             // Fastback doesn't fire DOMContentLoaded, so process forms now.
>             if (aStateFlags & Ci.nsIWebProgressListener.STATE_RESTORING) {
Still occurs:

Error: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]"  nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)"  location: "JS frame :: chrome://browser/content/preferences/advanced.js :: <TOP_LEVEL> :: line 313"  data: no]
Source File: chrome://global/content/bindings/preferences.xml

Line: 738
Components.utils.reportError(e);

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Being that this error is different, I will create a new bug report
You can closed again as "Fixed".

New Bug Reported as: https://bugzilla.mozilla.org/show_bug.cgi?id=720280
(In reply to Rhett Trappman from comment #12)
> Being that this error is different, I will create a new bug report
> You can closed again as "Fixed".
> 
> New Bug Reported as: https://bugzilla.mozilla.org/show_bug.cgi?id=720280

Thanks for filing a new bug as they are not related.
Status: REOPENED → RESOLVED
Closed: 13 years ago12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: