opto / Expression-Search-NG

update of Thunderbird addon ExpressionSearch/Gmail UI for TB 78 and later
61 stars 8 forks source link

TypeError: aState is null #125

Open mauny opened 1 month ago

mauny commented 1 month ago

TB 128.3.3esr (64 bits) ES-NG 4.0.44

I am encountering the following error which seems to be due to ExpSearch-NG (function postFilterProcess computes aState.text without checking that aState is not null (and tracing back to the call site shows that sState can indeed be null).

This error prevents deleting messages, for instance. Very annoying.

Here is what shows the console. Thanks!

TypeError: aState is null postFilterProcess resource://expressionsearch/modules/ExpressionSearchFilter.jsm:879 onMessagesChanged chrome://messenger/content/quickFilterBar.js:594 onMessageCountsChanged chrome://messenger/content/mailCommon.js:1200 _messageCountsChanged resource:///modules/DBViewWrapper.sys.mjs:1431 _notifyHelper resource:///modules/DBViewWrapper.sys.mjs:222 onFolderIntPropertyChanged resource:///modules/DBViewWrapper.sys.mjs:268 MarkMessageAsRead chrome://messenger/content/msgHdrView.js:4129