Closed Bug 465846 Opened 16 years ago Closed 16 years ago

Account "Settings..." brings up an empty list; Error console says "b.incomingServer is null"

Categories

(Thunderbird :: Account Manager, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0b1

People

(Reporter: jack, Assigned: jminta)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081119 Minefield/3.1b2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081119 Shredder/3.0b1pre

This is definitely related to certain profiles and not others, because I was able to recreate most of my active profile settings without issues.  It is very likely related to the fact that the first account I created in this thunderbird profile is from my old job and it's been deleted.  I looked at the prefs.js, and there are still some bits of information related to it there, though.
That's just a hunch, though.


Reproducible: Didn't try

Steps to Reproduce:
Not sure if this will work, but it's my best guess
1. set more than one account
2. use them each (get mail, thunderbird will create folders, etc.)
3. delete the first account? Maybe any of them would do it.
4. update nightly builds  . . . I don't know exactly which build first had the conflict with my profile, because I don't look at the account settings every day.
5. (optional) Open Error Console
6. Right click an account name; pick "Settings..."

Actual Results:  
The new window does not show any of your accounts.  Error Console shows "b.incomingSever is null".  I am not positive that this is related, but it happens at the same time, each time I open up the "Settings..." window.

Expected Results:  
In my profile, I still have two active accounts defined, and 4 active identities. I would expect to see the two accounts listed in the left pane, but it's empty. The right pane is also empty.

I've had this profile for a long time, but I'm sure I'm not the only one who would get broken by this if the same code goes to release.
Creating a new profile seems to work fine.
Here is the exact error from Error Console, with details (sorry):

Error: b.incomingServer is null
Source File: chrome://messenger/content/AccountManager.js
Line: 1060
I don't know exactly how this got this way, but I found a work around:

user_pref("mail.accountmanager.accounts", "account1,account2,account4,account5,account3");

I had no "account4" defined in my prefs.js anywhere; there was no mention of it anywhere else.  I took out that entry, and now the "Settings..." window works again.
Dang it. I *hate* this bug. We need the same hack we've done elsewhere to fix these broken accounts.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-thunderbird3.0b1?
Attached image Same bug in Mac OS X
I've also see this bug on Mac OS X. I get this if I choose my account in the folderpane and than go to "View settings for this account". And I also get this if I go in the Main Menu to: Tools --> Account Settings.

After that I get in the error console:
Error: b.incomingServer is null
Source File: chrome://messenger/content/AccountManager.js
Line: 1060

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b2pre) Gecko/20081120 Shredder/3.0b1pre
Attached patch untested patchSplinter Review
Haven't had a chance to test this, but in theory this should work.
Attachment #349246 - Flags: review?(bienvenu)
Comment on attachment 349246 [details] [diff] [review]
untested patch

I don't have a profile that's horked like this, but it doesn't break account settings for me.
Attachment #349246 - Flags: review?(bienvenu) → review+
(In reply to comment #5)
> Created an attachment (id=349246) [details]
> untested patch
> 
> Haven't had a chance to test this, but in theory this should work.

Thanks, this patch workes for me. Tried it in my own build and it brings me back the normal view.
Pushed as rev 68da167d6767.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Assignee: nobody → jminta
Flags: blocking-thunderbird3.0b1? → blocking-thunderbird3.0b1+
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Thunderbird 3.0b1
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: