Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception TypeError: msgFolder is null when opening Add-on #114

Open
jkavery opened this issue Mar 22, 2019 · 9 comments
Open

Exception TypeError: msgFolder is null when opening Add-on #114

jkavery opened this issue Mar 22, 2019 · 9 comments

Comments

@jkavery
Copy link

jkavery commented Mar 22, 2019

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
@StuporDaveOsborne
Copy link

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

@Nono-m0le
Copy link

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

@sphh
Copy link

sphh commented Mar 28, 2019

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

@GonzAR
Copy link

GonzAR commented Apr 4, 2019

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

@GDowning14
Copy link

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

@blitzdesigner
Copy link

is this project still maintained?

@jkavery
Copy link
Author

jkavery commented Apr 22, 2019

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.

@vbsql7
Copy link

vbsql7 commented Jul 29, 2019

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.

@hainesr
Copy link

hainesr commented Aug 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants