Page MenuHomePhabricator

Error: Call to a member function getContent() on null
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Error: Call to a member function getContent() on null
exception.trace
from /srv/mediawiki/php-1.37.0-wmf.23/extensions/Flow/includes/Import/OptInController.php(506)
#0 /srv/mediawiki/php-1.37.0-wmf.23/extensions/Flow/includes/Import/OptInController.php(689): Flow\Import\OptInController->editBoardDescription(Title, Closure, string)
#1 /srv/mediawiki/php-1.37.0-wmf.23/extensions/Flow/includes/Import/OptInController.php(183): Flow\Import\OptInController->archiveFlowBoard(Title)
#2 /srv/mediawiki/php-1.37.0-wmf.23/extensions/Flow/includes/Import/OptInController.php(120): Flow\Import\OptInController->disable(Title)
#3 /srv/mediawiki/php-1.37.0-wmf.23/includes/deferred/MWCallableUpdate.php(38): Flow\Import\OptInController->Flow\Import\{closure}()
#4 /srv/mediawiki/php-1.37.0-wmf.23/includes/deferred/DeferredUpdates.php(515): MWCallableUpdate->doUpdate()
#5 /srv/mediawiki/php-1.37.0-wmf.23/includes/deferred/DeferredUpdates.php(391): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti)
#6 /srv/mediawiki/php-1.37.0-wmf.23/includes/deferred/DeferredUpdates.php(221): DeferredUpdates::run(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti, Monolog\Logger, BufferingStatsdDataFactory, string)
#7 /srv/mediawiki/php-1.37.0-wmf.23/includes/deferred/DeferredUpdatesScope.php(267): DeferredUpdates::{closure}(MWCallableUpdate, integer)
#8 /srv/mediawiki/php-1.37.0-wmf.23/includes/deferred/DeferredUpdatesScope.php(196): DeferredUpdatesScope->processStageQueue(integer, integer, Closure)
#9 /srv/mediawiki/php-1.37.0-wmf.23/includes/deferred/DeferredUpdates.php(242): DeferredUpdatesScope->processUpdates(integer, Closure)
#10 /srv/mediawiki/php-1.37.0-wmf.23/includes/MediaWiki.php(1136): DeferredUpdates::doUpdates(string)
#11 /srv/mediawiki/php-1.37.0-wmf.23/includes/MediaWiki.php(846): MediaWiki->restInPeace()
#12 /srv/mediawiki/php-1.37.0-wmf.23/includes/MediaWiki.php(584): MediaWiki->doPostOutputShutdown()
#13 /srv/mediawiki/php-1.37.0-wmf.23/index.php(53): MediaWiki->run()
#14 /srv/mediawiki/php-1.37.0-wmf.23/index.php(46): wfIndexMain()
#15 /srv/mediawiki/w/index.php(3): require(string)
#16 {main}
Impact
Notes
  • One in the past 24 hours
  • Only on testwiki (so far)

Details

Request URL
https://test.wikipedia.org/wiki/Special:Preferences

Event Timeline

kostajh moved this task from Inbox to Triaged on the Growth-Team board.

Lowering the priority as this seems similar to previous errors, although at first glance the stacktrace looks a little different.

Change 742533 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/Flow@master] RevisionLookup::getRevisionById can return null in OptInController

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

Change 742533 merged by jenkins-bot:

[mediawiki/extensions/Flow@master] RevisionLookup::getRevisionById can return null in OptInController

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

Umherirrender claimed this task.
Umherirrender added a subscriber: Umherirrender.

The fatal exception is replaced with an InvalidDataException exception, which seems to be tracked with T149251 or T281784