Page MenuHomePhabricator

"Uncaught TypeError: Cannot read property 'parseDocument' of null" from
Open, Needs TriagePublic


Jenkins job for a commit in mediawiki/extensions/Echo, runs the shared gate where CX's unit test sometimes fails:

Uncaught TypeError: Cannot read property 'parseDocument' of null
 at HTMLDivElement.<anonymous>
 at HTMLDivElement.<anonymous>
 at Function.each
 at XMLHttpRequest.<anonymous>

This is briefly after the first passing test case from which suggests it might be from a later test case in that test module.


Related Gerrit Patches:
mediawiki/extensions/ContentTranslation : mastertests: Disable flaky test

Event Timeline

Krinkle created this task.Apr 7 2019, 11:24 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 7 2019, 11:24 PM

This seems to happen after

The error is from this line in method called from

		domDoc = sourceHtml, 'visual' ),

Some tests, I assume from VE, is leaving global as null in such cases.

Codesearch shows only one file as setting

This is currently affecting merges in Echo and Flow. Consider disabling the test and investigating further afterwards.

Change 502373 had a related patch set uploaded (by Krinkle; owner: Krinkle):
[mediawiki/extensions/ContentTranslation@master] tests: Disable flaky test

Change 502373 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] tests: Disable flaky test

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:07 PM