Page MenuHomePhabricator

Call to a member function getArticleID() on null
Closed, ResolvedPublic

Description

Error

Error encountered running the AddRedLinks pass

message
Call to a member function getArticleID() on null

Also seen for request /w/rest.php/en.wikipedia.org/v3/page/pagebundle/Talk%3A2019_Canadian_federal_election/923665931

Details

Request ID
XbhUcwpAMEEAADDLSNAAAAEU
Request URL
/w/rest.php/en.wikipedia.org/v3/page/pagebundle/Talk%3APoison_(Final_Fight)/903891137
Stack Trace
exception.trace
#0 /includes/PageProps.php(124): PageProps->getGoodIDs(array)
#1 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/extension/src/Config/DataAccess.php(105): PageProps->getProperties(array, array)
#2 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/PP/Processors/AddRedLinks.php(36): MWParsoid\Config\DataAccess->getPageInfo(MWParsoid\Config\PageConfig, array)
#3 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/DOMPostProcessor.php(151): Parsoid\Wt2Html\PP\Processors\AddRedLinks::run(DOMElement, Parsoid\Config\Env, array, boolean)
#4 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/DOMPostProcessor.php(831): Parsoid\Wt2Html\DOMPostProcessor->Parsoid\Wt2Html\{closure}(DOMElement, Parsoid\Config\Env, array, boolean)
#5 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/DOMPostProcessor.php(882): Parsoid\Wt2Html\DOMPostProcessor->doPostProcess(DOMDocument)
#6 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/DOMPostProcessor.php(899): Parsoid\Wt2Html\DOMPostProcessor->process(DOMDocument)
#7 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/ParserPipeline.php(148): Parsoid\Wt2Html\DOMPostProcessor->processChunkily(string, array)
#8 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/ParserPipeline.php(198): Parsoid\Wt2Html\ParserPipeline->parseChunkily(string, array)
#9 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Wt2Html/ParserPipelineFactory.php(308): Parsoid\Wt2Html\ParserPipeline->parseToplevelDoc(string, array)
#10 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/WikitextContentModelHandler.php(78): Parsoid\Wt2Html\ParserPipelineFactory->parse(string)
#11 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Parsoid.php(86): Parsoid\WikitextContentModelHandler->toHTML(Parsoid\Config\Env)
#12 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/src/Parsoid.php(113): Parsoid\Parsoid->parseWikitext(MWParsoid\Config\PageConfig, array)
#13 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/extension/src/Rest/Handler/ParsoidHandler.php(591): Parsoid\Parsoid->wikitext2html(MWParsoid\Config\PageConfig, array, NULL)
#14 /srv/deployment/parsoid/deploy-cache/revs/aa59ce3d0aa035504666a63c99667398d0ea1928/src/extension/src/Rest/Handler/PageHandler.php(47): MWParsoid\Rest\Handler\ParsoidHandler->wt2html(Parsoid\Config\Env, array)
#15 /includes/Rest/Router.php(315): MWParsoid\Rest\Handler\PageHandler->execute()
#16 /includes/Rest/Router.php(285): MediaWiki\Rest\Router->executeHandler(MWParsoid\Rest\Handler\PageHandler)
#17 /includes/Rest/EntryPoint.php(116): MediaWiki\Rest\Router->execute(MediaWiki\Rest\RequestFromGlobals)
#18 /includes/Rest/EntryPoint.php(83): MediaWiki\Rest\EntryPoint->execute()
#19 /rest.php(31): MediaWiki\Rest\EntryPoint::main()
#20 /srv/mediawiki/w/rest.php(3): require(string)
#21 {main}
Related Gerrit Patches:

Event Timeline

ssastry created this task.Oct 30 2019, 3:06 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 30 2019, 3:06 AM
ssastry triaged this task as Medium priority.Oct 30 2019, 3:07 AM
ssastry claimed this task.Nov 4 2019, 11:17 PM

Change 548551 had a related patch set uploaded (by Subramanya Sastry; owner: Subramanya Sastry):
[mediawiki/services/parsoid@master] Filter out invalid titles before requesting page properties

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

Change 548551 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Filter out invalid titles before requesting page properties

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

ssastry closed this task as Resolved.Fri, Nov 15, 6:49 PM