Closed Bug 10170 Opened 26 years ago Closed 25 years ago

[PP]Crash with no "mail.server.server1.username" pref

Categories

(MailNews Core :: Backend, defect, P3)

All
Windows NT
defect

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: nbaca, Assigned: sspitzer)

References

Details

(Whiteboard: [PR1])

Build 1999071911M9: Win32/NT4, Linux/Redhat 5.2 Overview Description: A Crash occurs when the user_pref("mail.server.server1.userName", "qatest20");` statement has a typo. For instance change "userName" to "user2ame or "username". Steps to Reproduce: 1. Open your prefs50.js file 2. Go to the `user_pref("mail.server.server1.userName` statement and change "userName" to "username". 3. Save the changes. 4. Launch Messenger and you will notice that instead of seeing the username it replaces the name with "null" (i.e. (null)@acme ) 5. Double click onto the account called "null". Actual Results: The program crashes. Expected Results: I would have expected a message telling me how to correct my "null" problem. At the very least I would have expected no crash. Additional Builds and Platforms Tested On: - Mac 8.5.1 shows "null@acme" and when I double click on the server it shows an Inbox. I double click the Inbox and nothing happens, no crash. I was able to select other accounts and look at the contents of the folders without a problem. - Tried builds from a week ago (i.e. 7/12/99) and the crash still occurs on Win32/NT4. Additional Information: Call Stack: (Signature = xpcom.dll + 0xd8ef (0x6097d8ef) d63984d3) xpcom.dll + 0xd8ef (0x6097d8ef) xpcom.dll + 0x4ac0 (0x60974ac0) rdf.dll + 0x26680 (0x603c6680) rdf.dll + 0x25ac9 (0x603c5ac9) raptorhtmlpars.dll + 0xf832 (0x608ef832) raptorhtmlpars.dll + 0xf5f2 (0x608ef5f2) raptorhtmlpars.dll + 0xbebc (0x608ebebc) raptorhtmlpars.dll + 0xbe31 (0x608ebe31) raptorhtmlpars.dll + 0xb864 (0x608eb864) raptorhtml.dll + 0x46b61 (0x602d6b61) raptorhtml.dll + 0x46e5d (0x602d6e5d) 0x007a1840
Summary: Crash with a typo on "mail.server.server1.username" statement → [PP]Crash with a typo on "mail.server.server1.username" statement
Changed Summary to state "[PP]" since it doesn't crash using the Mac.
Assignee: phil → alecf
reassigning to alecf. It looks like we might have problems when we don't have a username. Current workaround is to not make a typo :)
Status: NEW → ASSIGNED
Summary: [PP]Crash with a typo on "mail.server.server1.username" statement → [PP]Crash with no "mail.server.server1.username" pref
yeah, scott is right. updating summary.
Target Milestone: M9
I'll try to fix this for M9, but it might slip to M10
ok, I've got a fix for this for IMAP. I'm going to check pop now
pop seems to work fine.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
fix is in!
QA Contact: lchiang → nbaca
Setting QA Contact to nbaca, adding lchiang to Cc: list. Will check this on Saturday 8/21/99 or Monday 8/22/99.
Status: RESOLVED → REOPENED
Build 1999082016M9: Win32/NT4, Mac 8.5.1 Build 1999081608M9: Linux/Redhat 6.0 (since the 8/20 build isn't available) Reopening. - IMAP accounts no longer crash - POP accounts no longer crash when double clicking onto the account. It does crash if I select the account and select the "Get Message" button.
Resolution: FIXED → ---
Whiteboard: [PR1]
Sounds like this needs to be fixed for PR1, so I added a note to the Status Whiteboard
Severity: normal → critical
Target Milestone: M9 → M10
nbaca will provide a release note for M9. Moving to M10.
Target Milestone: M10 → M11
Bulk move mail/news M10 bugs to M11
Status: REOPENED → ASSIGNED
Assignee: alecf → sspitzer
Status: ASSIGNED → NEW
get some help from seth.
get some help from seth.
Blocks: 11091
(target milestone is M11 or M12 - add to mail beta tracking bug)
Status: NEW → RESOLVED
Closed: 26 years ago25 years ago
Resolution: --- → WONTFIX
this won't crash anymore because if your userName pref is horked, nothing will show up in the folder pane. try it again, and you'll see what I mean. in a debug build, you get these assertions: Assertion: "nsLocalURI2Server() failed" (NS_SUCCEEDED(rv)) at file nsLocalMailFolder.cpp, line 1856 Break: at file nsLocalMailFolder.cpp, line 1856 Assertion: "error, don't know about this server type yet. " (0) at file nsLocalMailFolder.cpp, line 422 Break: at file nsLocalMailFolder.cpp, line 422 Assertion: "unable to build content from template" (NS_SUCCEEDED(rv)) at file nsRDFGenericBuilder.cpp, line 2003 Break: at file nsRDFGenericBuilder.cpp, line 2003 Assertion: "unable to create item" (NS_SUCCEEDED(rv)) at file nsRDFGenericBuilder.cpp, line 2262 Break: at file nsRDFGenericBuilder.cpp, line 2262 Assertion: "error rebuilding container" (NS_SUCCEEDED(rv)) at file nsXULDocument.cpp, line 4749 Break: at file nsXULDocument.cpp, line 4749 Assertion: "unable to build content from template" (NS_SUCCEEDED(rv)) at file nsRDFGenericBuilder.cpp, line 2003 Break: at file nsRDFGenericBuilder.cpp, line 2003 Assertion: "unable to create item" (NS_SUCCEEDED(rv)) at file nsRDFGenericBuilder.cpp, line 2262 Break: at file nsRDFGenericBuilder.cpp, line 2262 Assertion: "error rebuilding container" (NS_SUCCEEDED(rv)) at file nsXULDocument.cpp, line 4749 Break: at file nsXULDocument.cpp, line 4749 in showthreads In onLoadfolderPane In sortColumn Assertion: "unable to build content from template" (NS_SUCCEEDED(rv)) at file nsRDFGenericBuilder.cpp, line 2003 Break: at file nsRDFGenericBuilder.cpp, line 2003 Assertion: "unable to create item" (NS_SUCCEEDED(rv)) at file nsRDFGenericBuilder.cpp, line 2262 Break: at file nsRDFGenericBuilder.cpp, line 2262 Assertion: "error rebuilding container" (NS_SUCCEEDED(rv)) at file nsXULDocument.cpp, line 4749 Break: at file nsXULDocument.cpp, line 4749 marking WONTFIX. if you hork your prefs, you deserve what you get.
Status: RESOLVED → VERIFIED
Verified. Nothing shows up in the folder pane and it's not crashing.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.