Page MenuHomePhabricator

Error: No class registered by that key: null
Closed, ResolvedPublicPRODUCTION ERROR

Description

Huge spike in errors on group 1 wikis after rolling out:

https://logstash.wikimedia.org/goto/b733980618255f0fe911bc347faa5109

Not sure of a reproduction case yet, or the source of the error, but this lines up closely with the train rollout out to group 1 and they're all on 1.44.0-wmf.20

sample stack trace:

at OO.Factory.create  https://it.m.wikipedia.org/w/load.php?lang=it&modules=oojs&skin=minerva&version=rwdvu:16:53
at mw.editcheck.hasAddedContentNeedingReference  https://it.m.wikipedia.org/w/load.php?lang=it&modules=ext.visualEditor.editCheck&skin=minerva&version=1m1na:1:887
at ve.init.mw.ArticleTarget.save  https://it.m.wikipedia.org/w/load.php?lang=it&modules=ext.visualEditor.articleTarget&skin=minerva&version=16t1q:27:811
at ve.init.mw.MobileArticleTarget.save  https://it.m.wikipedia.org/w/load.php?lang=it&modules=ext.visualEditor.mobileArticleTarget&skin=minerva&version=f9nsh:7:281
at ve.init.mw.ArticleTarget.startSave  https://it.m.wikipedia.org/w/load.php?lang=it&modules=ext.visualEditor.articleTarget&skin=minerva&version=16t1q:25:703
at ve.init.mw.ArticleTarget.onSaveDialogSave  https://it.m.wikipedia.org/w/load.php?lang=it&modules=ext.visualEditor.articleTarget&skin=minerva&version=16t1q:25:574
at OO.EventEmitter.emit  https://it.m.wikipedia.org/w/load.php?lang=it&modules=oojs&skin=minerva&version=rwdvu:8:344
at eval  https://it.m.wikipedia.org/w/load.php?lang=it&modules=ext.visualEditor.mwsave&skin=minerva&version=1jis1:18:141
at eval  https://it.m.wikipedia.org/w/load.php?lang=it&modules=oojs-ui-windows&skin=minerva&version=srz3a:6:943
at OO.ui.Process.execute  https://it.m.wikipedia.org/w/load.php?lang=it&modules=oojs-ui-windows&skin=minerva&version=srz3a:7:619

Other information (browser name/version, screenshots, etc.):

image.png (460×2 px, 73 KB)

Event Timeline

Restricted Application changed the subtype of this task from "Bug Report" to "Production Error". · View Herald TranscriptMar 12 2025, 9:22 PM

Change #1127157 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Follow-up Ia4b9f65b6: Fix argument order passed to EditCheckFactory#create

https://gerrit.wikimedia.org/r/1127157

Change #1127157 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Follow-up Ia4b9f65b6: Fix argument order passed to EditCheckFactory#create

https://gerrit.wikimedia.org/r/1127157

Change #1127208 had a related patch set uploaded (by DLynch; author: Esanders):

[mediawiki/extensions/VisualEditor@wmf/1.44.0-wmf.20] Follow-up Ia4b9f65b6: Fix argument order passed to EditCheckFactory#create

https://gerrit.wikimedia.org/r/1127208

There is no way to save any edit on Visual Editor in the main namespace. When pressing on Publish, there is an infinity loop. There are a lot of complains in our wiki.

Surprisingly, there is no problem in group0, just tried on mediawiki.org.

Status update on deploying the fix: there’s a separate outage incident that SRE is looking at, which is blocking all deployments. One that’s done, it’s next in the queue to go out.

Change #1127208 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@wmf/1.44.0-wmf.20] Follow-up Ia4b9f65b6: Fix argument order passed to EditCheckFactory#create

https://gerrit.wikimedia.org/r/1127208

Mentioned in SAL (#wikimedia-operations) [2025-03-13T14:32:45Z] <lucaswerkmeister-wmde@deploy2002> Started scap sync-world: Backport for [[gerrit:1127208|Follow-up Ia4b9f65b6: Fix argument order passed to EditCheckFactory#create (T388722)]]

Mentioned in SAL (#wikimedia-operations) [2025-03-13T14:35:56Z] <lucaswerkmeister-wmde@deploy2002> lucaswerkmeister-wmde, kemayo: Backport for [[gerrit:1127208|Follow-up Ia4b9f65b6: Fix argument order passed to EditCheckFactory#create (T388722)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Surprisingly, there is no problem in group0, just tried on mediawiki.org.

Just to explain: this would only have affected wikipedias, because the broken call only happened when edit check related tagging occurs, and we have that turned off everywhere else:

'wgVisualEditorEditCheckTagging' => [
	'default' => false,
	'wikipedia' => true,
],

Mentioned in SAL (#wikimedia-operations) [2025-03-13T14:44:16Z] <lucaswerkmeister-wmde@deploy2002> Finished scap sync-world: Backport for [[gerrit:1127208|Follow-up Ia4b9f65b6: Fix argument order passed to EditCheckFactory#create (T388722)]] (duration: 11m 31s)

DLynch lowered the priority of this task from Unbreak Now! to High.Mar 13 2025, 2:50 PM
DLynch moved this task from Code Review to QA on the Editing-team (Kanban Board) board.
DLynch added a project: Editing QA.
EAkinloose subscribed.

Error ceased since Mar 18th(following deployment)

image.png (452×3 px, 76 KB)