autoarchive icon indicating copy to clipboard operation
autoarchive copied to clipboard

Exception TypeError: msgFolder is null when opening Add-on

Open jkavery opened this issue 5 years ago • 9 comments

When opening Awesome Auto Archive 0.8 to configure it for the first time, Thunderbird 60.5.1 (Linux) reported these exceptions:

Awesome Auto Archive startup...
Caught Exception TypeError: msgFolder is null
updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1
initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5
creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7
creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22
createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65
syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5
anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8
setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20
updateElements@chrome://messenger/content/preferences/preferences.xml:562:13
_constructAfterChildren@chrome://messenger/content/preferences/preferences.xml:31:9
preference_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:169:11
  autoArchivePrefDialog.jsm:103:1
row is undefined  autoArchivePrefDialog.jsm:287
Caught Exception TypeError: msgFolder is null
updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1
initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5
creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7
creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22
createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65
syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5
anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8
setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20
onxblpaneload@chrome://messenger/content/preferences/preferences.xml:1337:13
_fireEvent@chrome://messenger/content/preferences/preferences.xml:777:27
prefwindow_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:660:13
  autoArchivePrefDialog.jsm:103:1
row is undefined  autoArchivePrefDialog.jsm:287

jkavery avatar Mar 22 '19 15:03 jkavery

Same as above but Win 7:

NS_ERROR_FAILURE: Couldn't decrypt string crypto-SDR.js:179 TypeError: Argument 1 of Document.getAnonymousElementByAttribute is not an object.[Learn More] accountcolors-3panewindow.js:1156:13 TypeError: Argument 1 of Document.getAnonymousElementByAttribute is not an object.[Learn More] accountcolors-3panewindow.js:1156:13 TypeError: Argument 1 of Document.getAnonymousElementByAttribute is not an object.[Learn More] accountcolors-3panewindow.js:1156:13 uncaught exception: 2147746065 autosync.js:206:13 Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65 syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5 anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8 setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20 updateElements@chrome://messenger/content/preferences/preferences.xml:562:13 _constructAfterChildren@chrome://messenger/content/preferences/preferences.xml:31:9 preference_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:169:11 autoArchivePrefDialog.jsm:103:1 Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65 syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5 anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8 setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20 onxblpaneload@chrome://messenger/content/preferences/preferences.xml:1337:13 _fireEvent@chrome://messenger/content/preferences/preferences.xml:777:27 prefwindow_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:660:13 autoArchivePrefDialog.jsm:103:1 Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 oncommand@chrome://awsomeautoarchive/content/autoArchivePrefDialog.xul:1:1 autoArchivePrefDialog.jsm:103:1 Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65 syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5 anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8 setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20 updateElements@chrome://messenger/content/preferences/preferences.xml:562:13 _constructAfterChildren@chrome://messenger/content/preferences/preferences.xml:31:9 preference_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:169:11 autoArchivePrefDialog.jsm:103:1 row is undefined autoArchivePrefDialog.jsm:287 Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65 syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5 anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8 setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20 onxblpaneload@chrome://messenger/content/preferences/preferences.xml:1337:13 _fireEvent@chrome://messenger/content/preferences/preferences.xml:777:27 prefwindow_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:660:13 autoArchivePrefDialog.jsm:103:1 row is undefined autoArchivePrefDialog.jsm:287 Content Security Policy: Ignoring ‘x-frame-options’ because of ‘frame-ancestors’ directive. (unknown) Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 oncommand@chrome://awsomeautoarchive/content/autoArchivePrefDialog.xul:1:1 autoArchivePrefDialog.jsm:103:1 TypeError: row is undefined[Learn More] autoArchivePrefDialog.jsm:287:5

StuporDaveOsborne avatar Mar 24 '19 22:03 StuporDaveOsborne

I guess I've the same here on Windows 10 / TB 60.6.0 (the add-ons is currently not usable/not working):

Awesome Auto Archive startup...
While creating services from category 'profile-after-change', could not create service for entry 'calendar-backend-loader', contract ID 'service,@mozilla.org/calendar/backend-loader;1'
Use of Mutation Events is deprecated. Use MutationObserver instead.  calendar-widgets.xml:512:20
TypeError: this.parentNode is null[Learn More]  tree.xml:1285:9
TypeError: this._parentMenupopup is null[Learn More]  mailWidgets.xml:2728:9
nsMsgDBFolder::GetPrettiestName is deprecated and will be removed soon. (unknown)

nsMsgDBFolder::GetPrettiestName is deprecated and will be removed soon. (unknown)
keyRing.jsm: loadKeyList: error
  (unknown)
nsMsgDBFolder::GetPrettiestName is deprecated and will be removed soon. (unknown)

Caught Exception TypeError: msgFolder is null
updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1
initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5
creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7
creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22
createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65
syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5
anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8
setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20
updateElements@chrome://messenger/content/preferences/preferences.xml:562:13
_constructAfterChildren@chrome://messenger/content/preferences/preferences.xml:31:9
preference_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:169:11
openAddonPrefs@chrome://messenger/content/mailCore.js:511:5
oncommand@chrome://messenger/content/messenger.xul:1:1
  autoArchivePrefDialog.jsm:103:1
row is undefined  autoArchivePrefDialog.jsm:287
Caught Exception TypeError: msgFolder is null
updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1
initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5
creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7
creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22
createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65
syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5
anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8
setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20
onxblpaneload@chrome://messenger/content/preferences/preferences.xml:1337:13
_fireEvent@chrome://messenger/content/preferences/preferences.xml:777:27
prefwindow_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:660:13
openAddonPrefs@chrome://messenger/content/mailCore.js:511:5
oncommand@chrome://messenger/content/messenger.xul:1:1
  autoArchivePrefDialog.jsm:103:1
row is undefined

Nono-m0le avatar Mar 25 '19 13:03 Nono-m0le

I can confirm @jkavery finding for Thunderbird 60.5.1 (Linux, 64 bit). The drop-down box for the Destination Folder remains empty. I should add that I use four IMAP servers and the default local mail storage.

Caught Exception TypeError: msgFolder is null
updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1
initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5
creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7
creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22
createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65
syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5
anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8
setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20
onxblpaneload@chrome://messenger/content/preferences/preferences.xml:1337:13
_fireEvent@chrome://messenger/content/preferences/preferences.xml:777:27
prefwindow_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:660:13
  autoArchivePrefDialog.jsm:103:1

sphh avatar Mar 28 '19 10:03 sphh

Same here on Windows 10 / TB 60.6.1 (the add-on is currently not usable)


Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65 syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5 anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8 setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20 onxblpaneload@chrome://messenger/content/preferences/preferences.xml:1337:13 _fireEvent@chrome://messenger/content/preferences/preferences.xml:777:27 prefwindow_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:660:13 openAddonPrefs@chrome://messenger/content/mailCore.js:511:5 oncommand@chrome://messenger/content/messenger.xul:1:1 autoArchivePrefDialog.jsm:103:1

row is undefined autoArchivePrefDialog.jsm:287 checkFocus chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:287:5 creatNewRule chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:5 createRulesBasedOnString chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65 syncFromPerf chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5 anonymous chrome://messenger/content/preferences/preferences.xml%20line%20440%20%3E%20Function:3:8 setElementValue chrome://messenger/content/preferences/preferences.xml:442:20 onxblpaneload chrome://messenger/content/preferences/preferences.xml:1337:13 _fireEvent chrome://messenger/content/preferences/preferences.xml:777:27 prefwindow_XBL_Constructor chrome://messenger/content/preferences/preferences.xml:660:13 openAddonPrefs chrome://messenger/content/mailCore.js:511:5 oncommand chrome://messenger/content/messenger.xul:1:1

GonzAR avatar Apr 04 '19 20:04 GonzAR

Also occuring on Windows 7 TB 60.6.1. Have 4 IMAP accounts (3 external internet and one internal intranet). After the message, am unable to configure archiving as destination folder dropdown is not populated. Add-on is not usable.

Caught Exception TypeError: msgFolder is null updateFolderStyle@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:103:1 initFolderPick@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:147:5 creatOneRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:270:7 creatNewRule@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:359:22 createRulesBasedOnString@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:378:65 syncFromPerf@chrome://awsomeautoarchive/content/autoArchivePrefDialog.jsm:388:5 anonymous@chrome://messenger/content/preferences/preferences.xml line 440 > Function:3:8 setElementValue@chrome://messenger/content/preferences/preferences.xml:442:20 onxblpaneload@chrome://messenger/content/preferences/preferences.xml:1337:13 _fireEvent@chrome://messenger/content/preferences/preferences.xml:777:27 prefwindow_XBL_Constructor@chrome://messenger/content/preferences/preferences.xml:660:13 openOption@chrome://awsomeautoarchive/content/autoArchive.jsm:184:5 createPopup/<@chrome://awsomeautoarchive/content/autoArchive.jsm:231:82

GDowning14 avatar Apr 10 '19 18:04 GDowning14

is this project still maintained?

blitzdesigner avatar Apr 22 '19 12:04 blitzdesigner

I can confirm @jkavery finding for Thunderbird 60.5.1 (Linux, 64 bit). The drop-down box for the Destination Folder remains empty. I should add that I use four IMAP servers and the default local mail storage.

To work around the problem of there not being a Destination Folder drop-down when adding a new rule, add one or more new rules, filling in everything except the Destination Folder(s). Then quit and restart Thunderbird and edit the options again. The Destination Folder(s) of the new rules will now have drop-downs which can be used.

jkavery avatar Apr 22 '19 15:04 jkavery

I loaded this app specifically to use the Archive function -- and to AVOID having to set a destination folder. Using the Archive button in TB automatically selects a folder for you, based on the current yet. FiltaQuilla and other filter add-ons require you to hard-code a folder into your archive action, which is something you have to then maintain every year.

This display bug, while annoying, doesn't seem to affect the functionality. It's just a reminder that the logic for checking Archive parameters needs to be cleaned up.

vbsql7 avatar Jul 29 '19 15:07 vbsql7

This display bug, while annoying, doesn't seem to affect the functionality. It's just a reminder that the logic for checking Archive parameters needs to be cleaned up.

This matches my experience.

hainesr avatar Aug 03 '19 07:08 hainesr