Page MenuHomePhabricator

null passed to getRevisionEditor() on itwiki
Closed, ResolvedPublicPRODUCTION ERROR

Description

Logstash is capturing the following errors:

https://logstash.wikimedia.org/app/kibana#/dashboard/Reading-Web?_g=h@8b5b71a&_a=h@8a2a19b
[WctE6ApAMFwAAClamisAAAHV] /wiki/Discussioni_utente:FrancescoMissarino   ErrorException from line 749 of /srv/mediawiki/php-1.30.0-wmf.19/skins/MinervaNeue/includes/skins/SkinMinerva.php: PHP Error: Argument 1 passed to SkinMinerva::getRevisionEditor() must be an instance of Revision, null given
https://logstash.wikimedia.org/app/kibana#/dashboard/Reading-Web?_g=h@8b5b71a&_a=h@8a2a19b
Catchable fatal error: Argument 1 passed to SkinMinerva::getRevisionEditor() must be an instance of Revision, null given in /srv/mediawiki/php-1.30.0-wmf.19/skins/MinervaNeue/includes/skins/SkinMinerva.php on line 749

Developer Notes

Revision::newFromTitle can @return Revision|null

Event Timeline

Did you see this in logstash or locally? If logstash can you add the URL?

• Niedzielski renamed this task from null passed to getRevisionEditor() to null passed to getRevisionEditor() on itwiki.Sep 27 2017, 3:01 PM
• Niedzielski updated the task description. (Show Details)

Sorry Jon, I was using the quick task dialog and accidentally submitted it before completing the report.

Change 381071 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@master] Revision::newFromTitle may return null

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

The code looks good, merged. @Jdlrobson do you want to bring it into the kanban board for visibility?

Change 381071 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Revision::newFromTitle may return null

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

Sure. Moving for sign off. Guess I'll put this in blocked until we can verify with the other patch that both logstash errors are resolved?

Change 381258 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@wmf/1.30.0-wmf.19] Revision::newFromTitle may return null

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

Change 381258 abandoned by Jdlrobson:
Revision::newFromTitle may return null

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

Change 381259 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/skins/MinervaNeue@wmf/1.31.0-wmf.1] Revision::newFromTitle may return null

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

Change 381259 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@wmf/1.31.0-wmf.1] Revision::newFromTitle may return null

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

Change 381258 restored by Pmiazga:
Revision::newFromTitle may return null

Reason:
itwiki is still on wmf.19

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

Change 381258 abandoned by Pmiazga:
Revision::newFromTitle may return null

Reason:
we decided to wait for wmf.1.30.1 get live verywhere instead of pushing old wmf.19 which will become obsolete today

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

Mentioned in SAL (#wikimedia-operations) [2017-09-28T18:54:44Z] <thcipriani@tin> Synchronized php-1.31.0-wmf.1/skins/MinervaNeue/includes/skins/SkinMinerva.php: SWAT: [[gerrit:381259|Revision::newFromTitle may return null]] T176882 (duration: 00m 50s)

The change was SWATted but to fully test it we need 1.31.1 to be deployed to group2.

Tested on IT wiki - works as expected.

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