Closed
Bug 132331
Opened 23 years ago
Closed 21 years ago
Exception... "Component returned failure code:" because we stat files *way* too often
Categories
(SeaMonkey :: Download & File Handling, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: aha, Assigned: iannbugzilla)
References
Details
Attachments
(1 file)
(deleted),
patch
|
neil
:
review+
jag+mozilla
:
superreview+
sspitzer
:
approval1.4+
|
Details | Diff | Splinter Review |
I downloaded some build and hit cancel. In JS Console apear error after every
click on line with canceled download:
Error: [Exception... "Component returned failure code: 0x80520012
(NS_ERROR_FILE_NOT_FOUND) [nsILocalFile.isExecutable]" nsresult: "0x80520012
(NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
chrome://communicator/content/downloadmanager/downloadmanager.js ::
dVC_isCommandEnabled :: line 142" data: no]
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 142
2002032003/Win2K
Comment 1•23 years ago
|
||
I tried with build 2002032803 on Windows XP and don't see this bug happen so
WFM. Reporter, could you try with newest Mozilla build?
Reporter | ||
Comment 2•23 years ago
|
||
Still similar with 2002040314/Win2K:
Error: [Exception... "Component returned failure code: 0x80520012
(NS_ERROR_FILE_NOT_FOUND) [nsILocalFile.isExecutable]" nsresult: "0x80520012
(NS_ERROR_FILE_NOT_FOUND)" location: "JS frame ::
chrome://communicator/content/downloadmanager/downloadmanager.js ::
dVC_isCommandEnabled :: line 138" data: no]
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 138
Repro:
1. enable download manager
2. select any bigger file to download and start downloading
3. select line with file in download progress
4. hit cancel
Actual:
In JS console appears error.
Reporter | ||
Comment 3•23 years ago
|
||
Confirming by duplicate bug 136890. Reporter of that bug (smaug@jippii.fi) has
also noted:
The fix is trivial:
Change the downloadmanager.js line 137 to
case "cmd_openfile":
try{
if (!isDownloading && getFileForItem(selectedItem).isExecutable())
return false;
}catch(ex) {return false;}
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Reporter | ||
Comment 4•23 years ago
|
||
*** Bug 136890 has been marked as a duplicate of this bug. ***
Build 2002041206 W2K SP2
I got a bunch of similar errors after selecting multiple times and then deleting
3 finished downloads in DM:
Error: [Exception... "Component returned failure code: 0x80070057
(NS_ERROR_ILLEGAL_VALUE) [nsITreeContentView.getItemAtIndex]" nsresult:
"0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame ::
chrome://communicator/content/downloadmanager/downloadmanager.js ::
getSelectedItem :: line 237" data: no]
Source File: chrome://communicator/content/downloadmanager/downloadmanager.js
Line: 237
Comment 6•22 years ago
|
||
*** Bug 142316 has been marked as a duplicate of this bug. ***
Comment 7•22 years ago
|
||
*** Bug 135691 has been marked as a duplicate of this bug. ***
Comment 8•22 years ago
|
||
As bug 135691 points out, the real fix is to not keep running stat() on the
file....
Summary: Exception... "Component returned failure code:" → Exception... "Component returned failure code:" because we stat files *way* too often
Comment 9•22 years ago
|
||
*** Bug 144779 has been marked as a duplicate of this bug. ***
Comment 10•22 years ago
|
||
*** Bug 145271 has been marked as a duplicate of this bug. ***
Comment 11•22 years ago
|
||
*** Bug 145490 has been marked as a duplicate of this bug. ***
Comment 12•22 years ago
|
||
*** Bug 156957 has been marked as a duplicate of this bug. ***
Comment 13•22 years ago
|
||
I get this error often when deleting or sending messages in the mail window:
Error: [Exception... "Component returned failure code: 0x80004003
(NS_ERROR_INVALID_POINTER) [nsIRDFService.GetResource]" nsresult: "0x80004003
(NS_ERROR_INVALID_POINTER)" location: "JS frame ::
chrome://messenger/content/msgMail3PaneWindow.js :: SelectFolder :: line 1192"
data: no]
Source File: chrome://messenger/content/msgMail3PaneWindow.js
Line: 1192
Comment 14•22 years ago
|
||
I was trying to download the nightly build and the download manager wouldn't
show up, even if i go to Tools -> Download Manager. I opened the javascript
console and saw this error:
Error: uncaught exception: [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://communicator/content/tasksOverlay.js :: toDownloadManager :: line 51"
data: no]
Updated•22 years ago
|
QA Contact: sairuh → petersen
Comment 15•22 years ago
|
||
*** Bug 193807 has been marked as a duplicate of this bug. ***
Comment 16•22 years ago
|
||
*** Bug 194001 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 17•21 years ago
|
||
Fix in patch to bug 132019 -> Taking
Assignee: blaker → ian
Depends on: 132019
Comment 19•21 years ago
|
||
*** Bug 206515 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 20•21 years ago
|
||
Splitting bug fixes from enhancements, upcoming patch will also fix problem
described in bug 167528
Assignee | ||
Comment 21•21 years ago
|
||
This patch just does the bug fixes for this bug and bug 167528 and will leave
the enhancements to bug 132019
Assignee | ||
Comment 22•21 years ago
|
||
Comment on attachment 123969 [details] [diff] [review]
Patch v1.0 split off from patch to bug 132019
Requesting driver approval as hopefully r=/sr= can be carried across from bug
132019
Attachment #123969 -
Flags: superreview?(jaggernaut)
Attachment #123969 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #123969 -
Flags: approval1.4?
Updated•21 years ago
|
Attachment #123969 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 23•21 years ago
|
||
Comment on attachment 123969 [details] [diff] [review]
Patch v1.0 split off from patch to bug 132019
sr=jag
Attachment #123969 -
Flags: superreview?(jaggernaut) → superreview+
Comment 24•21 years ago
|
||
Comment on attachment 123969 [details] [diff] [review]
Patch v1.0 split off from patch to bug 132019
a=sspitzer
thanks to ian/neil/jag for spinning this off.
Attachment #123969 -
Flags: approval1.4? → approval1.4+
Assignee | ||
Comment 25•21 years ago
|
||
Fix checked in by timeless
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•