Bug: TB mochitest, JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
Status: NEW
Priority: --
Created: 2021-11-08 03:57:14+00:00
Resolved: 2021-11-08 03:57:14+00:00

Lots of errors regarding invalidateRow from TB's mochitest, browser_ext_messageDisplayScripts.js.

I think this is architecture-agnostic, but I observe it when I ran DEBUG version of TB during mochitest under linux64 PC.

We have an issue with tree-comm-central in that the particular test is
not executed there, probably due to a crashing test in the list of tests
skipping the execution of several tests following it, including this
particular test. :-(
See the discussion in
https://thunderbird.topicbox.com/groups/developers/Te037635298392265
 
I am a bit surprised to realize all the errors come from a single test.

The following is an excerpt from a command run:
```
egrep "(invalidateRow|TEST_START)" /FF-NEW/log1350-mochitest.txt
```

```
67:41.35 TEST_START: comm/mail/components/extensions/test/browser/browser_ext_messageDisplayScripts.js
67:41.39 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.39 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.39 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.39 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.40 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2894: TypeError: can't access property "invalidateRow", this._tree is null
67:41.41 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.41 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.41 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.41 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.41 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.41 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.42 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.43 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.43 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.43 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.43 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.43 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.43 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.43 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.44 GECKO(608933) JavaScript error: chrome://messenger/content/folderPane.js, line 2885: TypeError: can't access property "invalidateRow", this._tree is null
67:41.48 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.48 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.48 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.48 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.48 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2894}]
67:41.49 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.49 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.49 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.49 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.49 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.49 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.51 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.52 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.55 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.55 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.55 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
67:41.55 INFO Console message: [JavaScript Error: "TypeError: can't access property "invalidateRow", this._tree is null" {file: "chrome://messenger/content/folderPane.js" line: 2885}]
79:48.79 TEST_START: comm/mail/components/im/test/browser/browser_browserRequest.js
```
This is coming from a heavily modified TB with local patches, and I am trying to see if I can run the test by excluding the crashing test on try-comm-central to show
the log (with less # of patches than on the local PC).
https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=707d06a9f775a147625a40def127781ae920fae0