Have you tried Thunderbird's safe mode? (see https://support.mozillamessaging.com/en-US/kb/Safe+Mode for more information)
Nicholas, if comment #1 don't solve your problem try disabling your antivirus. If your problem is related to anti-virus, please post here more info about it.
So I had very similar problem. I had just installed Thunderbird on a Mac system and got this same error every time I tried to add a mail account. Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMailSession.topmostMsgWindow]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386" data: no] I solved it by removing this directory: /Users/"myusername"/Library/Thunderbird I restarted Thunderbird after I removed the directory.
Nicholas, Stormy, do you still see this problem in a curent version?
Summary: Unable to Add Mail Account from Tools -> Account Settings → Unable to Add Mail Account from Tools -> Account Settings. Error "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386" data: no]
Could anybody reproduce this? What steps are necessary?
I have this issue as well. Just installed Thunderbird version 13.0 beta 4 (NL) on a Windows 7 PC without administrative rights. Clicking any of the buttons in the initial 'email account wizard' does nothing. The 'Add email account' in the accounts overview does nothing either (results in error mentioned below). The adding of news accounts and such is working fine. ---------- Tijdstempel: 6/1/2012 2:01:42 PM Fout: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMailSession.topmostMsgWindow]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386" data: no]
Can reproduce it time after time here if you want something traced or so.
OK, installed same version on my home PC, also Windows 7 x64, now with administrative rights, same issue.
Can you attach a screenshot of what Thunderbird windows are up when the problem appears? So that we are sure if the main window is up and what is the initial 'email account wizard'. Thanks.
Created attachment 629722 [details] Screenshot of exception just after selecting 'add e-mail account'
Thanks. Can you tell the exact steps you do? I do not understand why you are already in the Account settings window with only the SMTP server and no accounts. Maybe it is because the exception and therefore no account was created. I assume the 'initial account wizard' window comes before the other screenshot and is already closed when you are in the Account settings (other screenshot).
The steps for me to reproduce: - Start Thunderbird - Close the initial account wizard (the buttons don't work, same error) - Select Extra->Account settings - Select Actions->Add email account The actions are best guesses from the Dutch translation, might not be the exact wording in the English version.
So does it mean that you can't actually create any accounts on your installation? Or did you find some way to do it? Do you have an antivirus?
I cannot create any (mail) account on my installations, or is there some way to do this manually via config files? At home I run MS Security Essentials, at work we have McAfee (not the latest version, not sure which version at the moment as I'm working from home now). Furthermore stuff running at home and work: - AlwaysMouseWheel - Bvckup - Citrix Connection Center - Wuala Don't expect these to interfere, but you never know.
Could you try installing TB12 and trying the process there?
Installing 12.0.1 Dutch as I type...
Created attachment 629744 [details] Account setup Thunderbird 12.0.1 Dutch In version 12.0.1 Dutch the account wizard does function.
Installed 13.0 Beta 4 Dutch over 12.0.1 Dutch without first creating an account and immediately have the same issue again, will revert the 12.0.1 create an account and then install 13.0 beta 4 to see if I can add a second account.
It seems the new Account provisioning wizard (that you cancelled in TB13) is not in TB12. So that new feature may interfere. However the older reporters in this bug have used older TB versions (down to 3.0). Maybe the same bug is reappearing again. If you were not able to create a new account in TB13 that is a very major problem.
OK - installed 12.0.1 - created an email account (gmail/imap) - installed 13.0 beta 4 - added another email account (gmail/imap) It thus only fails for the initial account.
Mconley, Standard8, can you look at the account provisioning thingy here (starting at comment 7)? Hendrik, when you already had an account and you created next account in TB13 did you get the new white dialog (account provisioning) or did you immediately get the older wizard as in attachment 629744 [details]?
I got the older wizard like in TB12
aceman: Have you been able to reproduce this? -Mike
I just reproduced this using the Dutch version of Thunderbird 13b4.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is in the Error Console: Tijdstempel: 04/06/2012 9:38:30 AM Fout: onjuist gevormd Bronbestand: Regel: 1, Kolom: 169 Broncode: <div xmlns="http://www.w3.org/1999/xhtml"><span>De gebruikte zoektermen zijn naar Mozilla (<a href="https://www.mozilla.org/thunderbird/legal/privacy/" class="external"privacybeleid</a>) en naar derde e-mailproviders <span class="placeholder"></span> verzonden om beschikbare e-mailadressen te vinden.</span></
"onjuist gevormd" translates to "incorrectly formed", and I can see where: (<a href="https://www.mozilla.org/thunderbird/legal/privacy/" class="external"privacybeleid</a>) The anchor is malformed (there should be a > before "privacybeleid"). See: http://mxr.mozilla.org/comm-central/source/mail/locales/en-US/chrome/messenger/newmailaccount/accountProvisioner.properties#25
This only appears to affect the Dutch locale, and while the symptoms appear to be the same as this bug, I think it's actually a separate issue. I've filed a new bug for this at bug 761143.
Status: NEW → UNCONFIRMED
Ever confirmed: false
(In reply to Mike Conley (:mconley) from comment #25) > aceman: > Have you been able to reproduce this? Not yet, need to wait some hours for a suitable machine. Ok, thanks for looking into it. Do you think that typo causes the problem? Could you simulate the typo in english build?
(In reply to :aceman from comment #30) > (In reply to Mike Conley (:mconley) from comment #25) > > aceman: > > Have you been able to reproduce this? > > Not yet, need to wait some hours for a suitable machine. > > Ok, thanks for looking into it. Do you think that typo causes the problem? > Could you simulate the typo in english build? I didn't simulate the type in the English build, but I did manually fix the Dutch version locally by altering accountProvisioner.properties in my omni.ja. This resolved the startup issue and also fixed the case where the wizard is spawned from the Account Settings dialog.
OK, that should be equivalent. I didn't know if you can fix the Dutch build.
I don't think so. It seems the bug here was caused by a typo in Dutch translation. Was that actually ever fixed in newer versions? Can we close this?
You need to log in before you can comment on or make changes to this bug.