Closed
Bug 772420
Opened 12 years ago
Closed 8 years ago
Component returned failure code: (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]
Categories
(Thunderbird :: Folder and Message Lists, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 615272
People
(Reporter: AndrzejL.PCLinuxOS, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/16.0 Firefox/16.0
Build ID: 20120709035118
Steps to reproduce:
Nothing. Just checked the error console on my Thunderbird Daily 16
Actual results:
Noticed this repeated several times:
Timestamp: 07/10/2012 02:20:31 PM
Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Expected results:
There is no issue really. I am just reporting error from error console.
Regards.
Andy
Updated•12 years ago
|
Summary: Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]" → Component returned failure code: (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]
I understand - so it's not a Mozilla issue it's a 3rd party addon issue?
No worries :).
Thanks.
Andrzej
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Comment 2•12 years ago
|
||
I don't see any evidence for this being caused by 3rd party software > reopening.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: WONTFIX → ---
Updated•12 years ago
|
Status: REOPENED → NEW
Comment 3•12 years ago
|
||
I am seeing this error when I am continuously prompted for my mail credentials. This has been an issue for a while.
If I wait x minutes, then try again, everything works (no error messages generated). I am talking to a Comcast imap mail server from W7SP1x64 (Ultimate) w/Java 7U10 on the machine running T-bird v17.0.
This is a newly built machine, I don't (yet) have any anti-virus on it, although I was having the same problem prior to rebuilding it and I had Avast for the AV.
I have the similar issue with TB 17.0.2. When refreshing feeds, errors streamed in.
Timestamp: 2013-1-14 8:39:08
Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
The same message repeated about twenty times.
Timestamp: 2013-1-14 8:43:17
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
The same message repeated about twenty times too, but less than previous message.
Update:
The errors do not relate to feeds refreshing. It may have something to do with page rendering|display.
Reproduce step:
Open error console, clear.
Switch to TB window.
Switch back to error console.
Error logged as follow:
Timestamp: 2013-1-14 9:58:50
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Timestamp: 2013-1-14 9:58:50
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Timestamp: 2013-1-14 9:58:50
Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Timestamp: 2013-1-14 9:58:50
Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Timestamp: 2013-1-14 9:58:51
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Timestamp: 2013-1-14 9:58:51
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Timestamp: 2013-1-14 9:58:51
Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Timestamp: 2013-1-14 9:58:51
Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2436" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2438
Safe mode do not resolve the problem, only error messages increased from 8 to 12.
Updated•12 years ago
|
Component: General → Folder and Message Lists
OS: Linux → All
Status: NEW → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → WORKSFORME
I have the same issue on windows 7 and in XP SP3. The mail server is Courier. If I turn off windows firewall, everything is ok. I tried allow thunderbird in firewall or common ports, nothing happens, only turn off firewall.
Comment 10•12 years ago
|
||
Turning off firewall does not work for me.
Comment 11•12 years ago
|
||
Same issue on MacOSX with TB 17.0.5.
Why is this issue Status: RESOLVED WORKSFORME ?!?
Comment 12•12 years ago
|
||
Because the original reporter marked it as WORKSFORME. He probably does not see it any longer.
I also see this problem randomly, but it is no AV, no firewall, no third party binary addon.
Guys, do you use the Smart folders view (View -> Folders -> Unified)?
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 13•12 years ago
|
||
In that case I guess it's not going to get much attention from anybody is it? Might be best to open a new ticket ...
Yes - I use Unified folders.
Comment 14•12 years ago
|
||
Let's keep it in this bug until we find any common cause of the problem.
Status: REOPENED → NEW
Comment 15•12 years ago
|
||
Can you find out on which folder you need to click for this error to appear? That is what we need.
Comment 16•12 years ago
|
||
I don't need to click any folder - I can clear the error console, switch back to my main mail window and immediately 30-40 of those messages appear ...
Comment 17•12 years ago
|
||
Me too. It's not related to any specific folder. Just switch to TB (using windows alt+tab or click TB window to bring it forward) and lots of errors will appear. So I doubt it has something to do with UI display module. I think it is the main reason making TB behaves slow or "stuck" to response.
Comment 18•12 years ago
|
||
LU Wei, do you use View -> Folders -> Unified ?
Comment 19•12 years ago
|
||
(In reply to :aceman from comment #18)
> LU Wei, do you use View -> Folders -> Unified ?
No, mine is View -> Folders -> All
Comment 20•12 years ago
|
||
I get the errors when the folder pane is enabled and in 'all' or 'unified' mode.
Comment 21•12 years ago
|
||
(In reply to aj from comment #20)
> I get the errors when the folder pane is enabled and in 'all' or 'unified'
> mode.
Yes, No error occurs when not showing folder pane, which correspond to error message complaining about folderPane.js.
Comment 22•12 years ago
|
||
(In reply to Lu Wei from comment #21)
> Yes, No error occurs when not showing folder pane, which correspond to error
> message complaining about folderPane.js.
Yes but only when in 'all' or 'unified'?
Comment 23•12 years ago
|
||
I've noticed a possible related issue. Not all 'unified' folders are expandable i.e. they don't have the little arrow (see attachment). It seems random which folder/folders is/are affected. Sometimes it affects a top level folder and I'm forced to restart TB.
Comment 24•12 years ago
|
||
What is wrong in the screenshot? All of Drafs, Templates, Sent, Archive have the arrow.
Comment 25•12 years ago
|
||
(In reply to aj from comment #22)
> (In reply to Lu Wei from comment #21)
> > Yes, No error occurs when not showing folder pane, which correspond to error
> > message complaining about folderPane.js.
>
> Yes but only when in 'all' or 'unified'?
Tested all 5 modes: all, unified, unread, favorite, recent. Only "all" and "unified" has this issue.
Comment 26•12 years ago
|
||
(In reply to :aceman from comment #24)
> What is wrong in the screenshot? All of Drafs, Templates, Sent, Archive have
> the arrow.
It was the EML folder but actually I was being an idiot because it didn't have any sub-folders - sorry!
Having said that it is definitely the case that sometimes when I start TB the 'unified' Sent has no arrow on it and I have to re-start TB.
Comment 27•12 years ago
|
||
A phenomenon which may be relevant: my TB always starts with this warning that a script is busy.
Comment 28•11 years ago
|
||
TB 24.0beta has no such issue on my machine. So has this bug been fixed quietly?
Comment 29•11 years ago
|
||
Did a windbg, TB 24.0beta just does not show this error in error console, but still shows in windbg.
Comment 30•9 years ago
|
||
TB 38 show this error again:
Timestamp: 2015-6-17 11:13:38
Error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2788" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2790
Same error appear 4 times. No busy script busy warning this time.
Comment 31•9 years ago
|
||
TB 38.2.0 very sluggish, using 1.2 GB of memory! Error console shows same error as LuWei above; here from error log:
Timestamp: 2015-09-09, 4:24:58 PM
Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2788" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2790
Comment 32•9 years ago
|
||
I did some test under TB 38.4. View->Layout->classic view, Folders->All.
Error console still reports many lines of error:
Timestamp: 2015-11-27 21:13:20
Error: [Exception... "Component returned failure code: 0x80550007 [nsIMsgFolder.getStringProperty]" nsresult: "0x80550007 (<unknown>)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2790" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2792
Reproduce when will it happen:
1. Keep the error console open on the foreground and clear logs.
2. Move the pointer into the folder pane.
3. If the pointer hovers on the root nodes (accounts folder name lines, like IMAP account, Local Folders, web feeds, but except newsgroup account), errors occur.
If the pointer hovers on the Local Folders - Junk, errors occur.
Hover on any other places do not trigger errors.
Click the link of the error bring me to the source file:
function getSmartFolderName(aFolder) {
try {
return aFolder.getStringProperty("smartFolderName");
} catch (ex) {
Components.utils.reportError(ex);
return null;
}
}
I hope these information can help to locate the source of this error.
Comment 33•9 years ago
|
||
same issue here in TB38 on Ubuntu. "View - Folder - All"
Comment 34•9 years ago
|
||
TB 45.0 Update:
Timestamp: 2016-4-20 10:08:17
Error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgFolder.getStringProperty]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://messenger/content/folderPane.js :: getSmartFolderName :: line 2780" data: no]
Source File: chrome://messenger/content/folderPane.js
Line: 2782
click source file link, lines below are highlighted:
Components.utils.reportError(ex);
return null;
}
}
var gFolderStatsHelpers = {
kUnknownSize: "-",
sumSubfoldersPref: false,
sumSubfolders: false,
sizeUnits: "",
kiloUnit: "KB",
megaUnit: "MB",
init: function() {
// We cache these values because the cells in the folder pane columns
// using these helpers can be redrawn often.
this.sumSubfoldersPref = Services.prefs.getBoolPref("mail.folderpane.sumSubfolders");
this.sizeUnits = Services.prefs.getCharPref("mail.folderpane.sizeUnits");
this.kiloUnit = gFolderTreeView.messengerBundle.getString("kiloByteAbbreviation2");
this.megaUnit = gFolderTreeView.messengerBundle.getString("megaByteAbbreviation2");
},
/**
* Add a prefix to denote the value is actually a sum of all the subfolders.
* The prefix is useful as this sum may not always be the exact sum of individual
* folders when they are shown expanded (due to rounding to a unit).
* E.g. folder1 600bytes -> 1KB, folder2 700bytes -> 1KB
* summarized at parent folder: 1300bytes -> 1KB
*
* @param aValue The value to be displayed.
* @param aSubfoldersContributed Boolean indicating whether subfolders
* contributed to the accumulated total value.
*/
addSummarizedPrefix: function(aValue, aSubfoldersContributed) {
if (!this.sumSubfolders)
return aValue;
if (!aSubfoldersContributed)
return aValue;
return gFolderTreeView.messengerBundle
.getFormattedString("folderSummarizedSymbolValue", [aValue]);
},
/**
* nsIMsgFolder uses -1 as a magic number to mean "I don't know". In those
* cases we indicate it to the user. The user has to open the folder
* so that the property is initialized from the DB.
*
* @param aNumber The number to translate for the user.
* @param aSubfoldersContributed Boolean indicating whether subfolders
* contributed to the accumulated total value.
*/
fixNum: function(aNumber, aSubfoldersContributed) {
if (aNumber < 0)
return this.kUnknownSize;
return (aNumber == 0 ? "" : this.addSummarizedPrefix(aNumber,
aSubfoldersContributed));
},
/**
* Get the size of the specified folder.
*
* @param aFolder The nsIMsgFolder to analyze.
*/
getFolderSize: function(aFolder) {
let folderSize = 0;
try {
folderSize = aFolder.sizeOnDisk;
if (folderSize < 0)
return this.kUnknownSize;
} catch(ex) {
return this.kUnknownSize;
}
return folderSize;
},
/**
* Get the total size of all subfolders of the specified folder.
*
* @param aFolder The nsIMsgFolder to analyze.
*/
getSubfoldersSize: function(aFolder) {
let folderSize = 0;
if (aFolder.hasSubFolders) {
let subFolders = aFolder.subFolders;
while (subFolders.hasMoreElements()) {
let subFolder = subFolders.getNext()
.QueryInterface(Components.interfaces.nsIMsgFolder);
let subSize = this.getFolderSize(subFolder);
let subSubSize = this.getSubfoldersSize(subFolder);
if (subSize == this.kUnknownSize || subSubSize == this.kUnknownSize)
return subSize;
folderSize += subSize + subSubSize;
}
}
return folderSize;
},
/**
* Format the given folder size into a string with an appropriate unit.
*
* @param aSize The size in bytes to format.
* @param aUnit Optional unit to use for the format.
* Possible values are "KB" or "MB".
* @return An array with 2 values. First is the resulting formatted strings.
* The second one is the final unit used to format the string.
*/
formatFolderSize: function(aSize, aUnit = gFolderStatsHelpers.sizeUnits) {
let size = Math.round(aSize / 1024);
let unit = gFolderStatsHelpers.kiloUnit;
// If size is non-zero try to show it in a unit that fits in 3 digits,
// but if user specified a fixed unit, use that.
if (aUnit != "KB" && (size > 999 || aUnit == "MB")) {
size = Math.round(size / 1024);
unit = gFolderStatsHelpers.megaUnit;
aUnit = "MB";
}
// This needs to be updated if the "%.*f" placeholder string
// in "*ByteAbbreviation2" in messenger.properties changes.
return [unit.replace("%.*f", size).replace(" ",""), aUnit];
}
};
Comment 35•8 years ago
|
||
Update: Today I did a big clean of my profile folder, deleted all redundant, obsolete, auto-rebuidable file according to http://kb.mozillazine.org/Files_and_folders_in_the_profile_-_Thunderbird , and have not see the error ever since. TB 50.0b3.
Status: NEW → RESOLVED
Closed: 12 years ago → 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•