Error
- mwversion: 1.39.0-wmf.12
- reqId: 12e052a4-0c1c-47a1-96b6-5c0c9c249d79
- Find reqId in Logstash
- Exception dashboard in Logstash
[{reqId}] {exception_url} LogicException: This ParserOutput contains no text!
from /srv/mediawiki/php-1.39.0-wmf.12/includes/parser/ParserOutput.php(363) #0 /srv/mediawiki/php-1.39.0-wmf.12/includes/parser/ParserOutput.php(412): ParserOutput->getRawText() #1 /srv/mediawiki/php-1.39.0-wmf.12/extensions/CommonsMetadata/src/DataCollector.php(120): ParserOutput->getText() #2 /srv/mediawiki/php-1.39.0-wmf.12/extensions/CommonsMetadata/src/HookHandler.php(152): CommonsMetadata\DataCollector->verifyAttributionMetadata(ParserOutput, LocalFile) #3 /srv/mediawiki/php-1.39.0-wmf.12/includes/HookContainer/HookContainer.php(338): CommonsMetadata\HookHandler::onContentAlterParserOutput(WikitextContent, Title, ParserOutput) #4 /srv/mediawiki/php-1.39.0-wmf.12/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array) #5 /srv/mediawiki/php-1.39.0-wmf.12/includes/HookContainer/HookRunner.php(1199): MediaWiki\HookContainer\HookContainer->run(string, array) #6 /srv/mediawiki/php-1.39.0-wmf.12/includes/content/ContentHandler.php(1729): MediaWiki\HookContainer\HookRunner->onContentAlterParserOutput(WikitextContent, Title, ParserOutput) #7 /srv/mediawiki/php-1.39.0-wmf.12/includes/content/Renderer/ContentRenderer.php(47): ContentHandler->getParserOutput(WikitextContent, MediaWiki\Content\Renderer\ContentParseParams) #8 /srv/mediawiki/php-1.39.0-wmf.12/includes/Revision/RenderedRevision.php(270): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput(WikitextContent, Title, NULL, ParserOptions, boolean) #9 /srv/mediawiki/php-1.39.0-wmf.12/includes/Revision/RenderedRevision.php(237): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached(WikitextContent, boolean) #10 /srv/mediawiki/php-1.39.0-wmf.12/includes/Revision/RevisionRenderer.php(221): MediaWiki\Revision\RenderedRevision->getSlotParserOutput(string, array) #11 /srv/mediawiki/php-1.39.0-wmf.12/includes/Revision/RevisionRenderer.php(158): MediaWiki\Revision\RevisionRenderer->combineSlotOutput(MediaWiki\Revision\RenderedRevision, array) #12 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}(MediaWiki\Revision\RenderedRevision, array) #13 /srv/mediawiki/php-1.39.0-wmf.12/includes/Revision/RenderedRevision.php(199): call_user_func(Closure, MediaWiki\Revision\RenderedRevision, array) #14 /srv/mediawiki/php-1.39.0-wmf.12/extensions/TemplateData/includes/Hooks.php(100): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput(array) #15 /srv/mediawiki/php-1.39.0-wmf.12/includes/HookContainer/HookContainer.php(338): MediaWiki\Extension\TemplateData\Hooks::onMultiContentSave(MediaWiki\Revision\RenderedRevision, User, CommentStoreComment, integer, Status) #16 /srv/mediawiki/php-1.39.0-wmf.12/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array) #17 /srv/mediawiki/php-1.39.0-wmf.12/includes/HookContainer/HookRunner.php(2590): MediaWiki\HookContainer\HookContainer->run(string, array) #18 /srv/mediawiki/php-1.39.0-wmf.12/includes/Storage/PageUpdater.php(894): MediaWiki\HookContainer\HookRunner->onMultiContentSave(MediaWiki\Revision\RenderedRevision, User, CommentStoreComment, integer, Status) #19 /srv/mediawiki/php-1.39.0-wmf.12/includes/MovePage.php(997): MediaWiki\Storage\PageUpdater->saveRevision(CommentStoreComment) #20 /srv/mediawiki/php-1.39.0-wmf.12/includes/MovePage.php(674): MovePage->moveToInternal(User, Title, string, boolean, array) #21 /srv/mediawiki/php-1.39.0-wmf.12/includes/MovePage.php(520): MovePage->moveUnsafe(User, string, boolean, array) #22 /srv/mediawiki/php-1.39.0-wmf.12/includes/api/ApiMove.php(120): MovePage->moveIfAllowed(User, string, boolean, array) #23 /srv/mediawiki/php-1.39.0-wmf.12/includes/api/ApiMain.php(1902): ApiMove->execute() #24 /srv/mediawiki/php-1.39.0-wmf.12/includes/api/ApiMain.php(874): ApiMain->executeAction() #25 /srv/mediawiki/php-1.39.0-wmf.12/includes/api/ApiMain.php(845): ApiMain->executeActionWithErrorHandling() #26 /srv/mediawiki/php-1.39.0-wmf.12/api.php(90): ApiMain->execute() #27 /srv/mediawiki/php-1.39.0-wmf.12/api.php(45): wfApiMain() #28 /srv/mediawiki/w/api.php(3): require(string) #29 {main}
Notes
- Started immediately after the deploy of 1.39.0-wmf.12 to group1
- Low frequency but happening constantly on commonswiki
- Possibly related to https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/1618bbd671ede3d74de19d3276a4014bae3ab515 or https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/db492e204f50ca7367914e6d936a76035a774bea
- Setting aside the hooks, no class in the stacktrace apart from ParserOutput modified recently (that I could see)