Open Bug 1261921 Opened 10 years ago Updated 3 years ago

'can't determine folder's server type' warnings after creating the first account

Categories

(Thunderbird :: Account Manager, defect)

defect

Tracking

(Not tracked)

People

(Reporter: aceman, Unassigned)

Details

The test mozmill\instrumentation\test-instrument-setup.js creates a new account in a different way than other tests. There are NO accounts defined when starting the test so TB automatically opens the New account wizard. In other tests we get e.g. Local folders pre-created. So in this case the test creates a new pop3 server (and TB adds a Local folders account). But it seems like TB immediatelly tries to connect to the server (without having a password). In a debug build, there is a ton of warnings like "can't determine folder's server type" in the output. That's strange as I could determine in the test that the account is created fine and is of type "pop3". Outside of these warnings it appears to behave correctly. So I don't know if these warnings mean anything, but they do not appear when creating accounts in other tests. ALSO, I can confirm these warnings DO appear when running TB manually in an empty profile and filling in an account wizard. 14:24:16 INFO - TEST-PASS | C:\slave\test\build\tests\mozmill\instrumentation\test-instrument-setup.js | test-instrument-setup.js::setupModule 14:24:16 INFO - TEST-START | C:\slave\test\build\tests\mozmill\instrumentation\test-instrument-setup.js | test_mail_account_setup 14:24:16 INFO - -- Exception object -- 14:24:16 INFO - + _message (string) '' 14:24:16 INFO - + stack (string) 1321 chars 14:24:16 INFO - + code (number) 0 14:24:16 INFO - + uri (string) 'http://autoconfig.example.com/mail/config-v1.1.xml' 14:24:16 INFO - + constructor (function) 6 lines 14:24:16 INFO - + message (string) '' 14:24:16 INFO - + toString (function) 4 lines 14:24:16 INFO - * 14:24:16 INFO - -- Stack Trace -- 14:24:16 INFO - Exception@chrome://messenger/content/accountcreation/util.js:137:5 14:24:16 INFO - ServerException@chrome://messenger/content/accountcreation/fetchhttp.js:262:3 14:24:16 INFO - FetchHTTP.prototype._response@chrome://messenger/content/accountcreation/fetchhttp.js:190:19 14:24:16 INFO - FetchHTTP.prototype.start/request.onerror@chrome://messenger/content/accountcreation/fetchhttp.js:117:36 14:24:16 INFO - waitFor@resource://mozmill/modules/utils.js:478:5 14:24:16 INFO - MozMillController.prototype.waitFor@resource://mozmill/modules/controller.js:687:3 14:24:16 INFO - test_mail_account_setup@resource://mozmill/modules/frame.js -> file:///C:/slave/test/build/tests/mozmill/instrumentation/test-instrument-setup.js:66:3 14:24:16 INFO - Runner.prototype.wrapper@resource://mozmill/modules/frame.js:585:9 14:24:16 INFO - Runner.prototype._runTestModule@resource://mozmill/modules/frame.js:655:9 14:24:16 INFO - Runner.prototype.runTestModule@resource://mozmill/modules/frame.js:701:3 14:24:16 INFO - Runner.prototype.runTestDirectory@resource://mozmill/modules/frame.js:525:7 14:24:16 INFO - runTestDirectory@resource://mozmill/modules/frame.js:707:3 14:24:16 INFO - Bridge.prototype._execFunction@resource://jsbridge/modules/server.js:179:10 14:24:16 INFO - Bridge.prototype.execFunction@resource://jsbridge/modules/server.js:183:16 14:24:16 INFO - @resource://jsbridge/modules/server.js:283:1 14:24:16 INFO - Session.prototype.receive@resource://jsbridge/modules/server.js:283:3 14:24:16 INFO - AsyncRead.prototype.onDataAvailable@resource://jsbridge/modules/server.js:88:3 14:24:17 INFO - [2052] WARNING: can't determine folder's server type: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp, line 3199 14:24:17 INFO - [2052] WARNING: NS_ENSURE_SUCCESS(rv, (nsresult)(((uint32_t)(1) << 31) | ((uint32_t)(16 + 0x45) << 16) | ((uint32_t)(22)))) failed with result 0x80004005: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/local/src/nsLocalMailFolder.cpp, line 218 14:24:17 INFO - [2052] WARNING: can't determine folder's server type: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp, line 3199 14:24:17 INFO - [2052] WARNING: can't determine folder's server type: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp, line 3199 14:24:17 INFO - [2052] WARNING: '!aFile', file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mozilla/xpcom/io/nsLocalFileWin.cpp, line 1189 14:24:17 INFO - [2052] WARNING: NS_ENSURE_TRUE(!pathKey.IsEmpty()) failed: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/src/nsMsgFolderCache.cpp, line 257 14:24:17 INFO - [2052] WARNING: can't determine folder's server type: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp, line 3199 14:24:17 INFO - [2052] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/src/nsMsgAccount.cpp, line 96 14:24:17 INFO - [2052] WARNING: couldn't lazily create the server 14:24:17 INFO - : 'NS_SUCCEEDED(rv)', file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/src/nsMsgAccount.cpp, line 66 14:24:17 INFO - GetDiskSpaceAvailable returned: 470780841984 bytes 14:24:17 INFO - [2052] WARNING: NS_ENSURE_SUCCESS(rv, result) failed with result 0x80520012: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/local/src/nsPop3Protocol.cpp, line 172 14:24:17 INFO - Abort mail message delivery. 14:24:17 INFO - JavaScript error: resource:///modules/activity/pop3Download.js, line 93: TypeError: this._mostRecentActivityForFolder.get(...) is undefined 14:24:17 INFO - [2052] WARNING: No valid default account found.: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/src/nsMsgAccountManager.cpp, line 777 14:24:17 INFO - [2052] WARNING: Just using the first one (FIXME).: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/src/nsMsgAccountManager.cpp, line 779 14:24:17 INFO - [2052] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp, line 3206 14:24:17 INFO - [2052] WARNING: NS_ENSURE_SUCCESS(rv, (nsresult)(((uint32_t)(1) << 31) | ((uint32_t)(16 + 0x45) << 16) | ((uint32_t)(22)))) failed with result 0x80004005: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/local/src/nsLocalMailFolder.cpp, line 218 14:24:17 INFO - [2052] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp, line 3206 14:24:17 INFO - [2052] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x8000FFFF: file c:/builds/moz2_slave/tb-c-cen-w32-d-000000000000000/build/mailnews/base/util/nsMsgDBFolder.cpp, line 3206 14:24:18 INFO - TEST-PASS | C:\slave\test\build\tests\mozmill\instrumentation\test-instrument-setup.js | test-instrument-setup.js::test_mail_account_setup
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.