[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

TypeError: Argument 2 passed to WikitextContentHandler::getDataForSearchIndex() must be an instance of ParserOutput, null given, called in /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/BuildDocument/ParserOutputPageProperties.php on line 88
Closed, ResolvedPublic3 Estimated Story PointsPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   TypeError: Argument 2 passed to WikitextContentHandler::getDataForSearchIndex() must be an instance of ParserOutput, null given, called in /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/BuildDocument/ParserOut
exception.trace
from /srv/mediawiki/php-1.39.0-wmf.5/includes/content/WikitextContentHandler.php(152)
#0 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/BuildDocument/ParserOutputPageProperties.php(88): WikitextContentHandler->getDataForSearchIndex(WikiPage, NULL, CirrusSearch\CirrusSearch)
#1 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/BuildDocument/ParserOutputPageProperties.php(68): CirrusSearch\BuildDocument\ParserOutputPageProperties->finalizeReal(Elastica\Document, WikiPage, ParserCache, CirrusSearch\CirrusSearch)
#2 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/BuildDocument/BuildDocument.php(171): CirrusSearch\BuildDocument\ParserOutputPageProperties->finalize(Elastica\Document, Title)
#3 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/DataSender.php(250): CirrusSearch\BuildDocument\BuildDocument->finalize(Elastica\Document)
#4 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/Job/ElasticaWrite.php(137): CirrusSearch\DataSender->sendData(string, array)
#5 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/Job/JobTraits.php(136): CirrusSearch\Job\ElasticaWrite->doJob()
#6 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/Updater.php(446): CirrusSearch\Job\CirrusGenericJob->run()
#7 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/Updater.php(221): CirrusSearch\Updater->pushElasticaWriteJobs(array, Closure)
#8 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/Updater.php(79): CirrusSearch\Updater->updatePages(array, integer)
#9 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/Job/LinksUpdate.php(51): CirrusSearch\Updater->updateFromTitle(Title)
#10 /srv/mediawiki/php-1.39.0-wmf.5/extensions/CirrusSearch/includes/Job/JobTraits.php(136): CirrusSearch\Job\LinksUpdate->doJob()
#11 /srv/mediawiki/php-1.39.0-wmf.5/extensions/EventBus/includes/JobExecutor.php(79): CirrusSearch\Job\CirrusTitleJob->run()
#12 /srv/mediawiki/rpc/RunSingleJob.php(76): MediaWiki\Extension\EventBus\JobExecutor->execute(array)
#13 {main}
Notes
  • Low frequency: Happened four or so times in the past week
  • exclusively on job runners

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 777301 had a related patch set uploaded (by DCausse; author: DCausse):

[mediawiki/core@master] Clarify the return type of ContentHandler::getParserOutputForIndexing()

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

Change 777352 had a related patch set uploaded (by DCausse; author: DCausse):

[mediawiki/extensions/CirrusSearch@master] Fails cleanly when the the ParserOutput cannot be retrieved

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

Change 777301 merged by jenkins-bot:

[mediawiki/core@master] Clarify the return type of ContentHandler::getParserOutputForIndexing()

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

Change 777352 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] Fail cleanly when the the ParserOutput cannot be retrieved

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