Last modified: 2014-10-15 18:01:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73377, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71377 - Flow: Fatal exception of type MWException from AbstractQuery.php: Did not load root post <UUID>, viewing boards and topics
Flow: Fatal exception of type MWException from AbstractQuery.php: Did not loa...
Status: PATCH_TO_REVIEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://fr.wikipedia.org/wiki/Wikip%C...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-27 01:14 UTC by Quiddity
Modified: 2014-10-15 18:01 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Quiddity 2014-09-27 01:14:14 UTC
Currently https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Forum_des_nouveaux/Flow
leads to the message:
 Internal error
 [1e3e5c74] 2014-09-27 01:10:46: Fatal exception of type MWException

Webconsole says:
 "[FLOW] " "Will not instantiate: no $container.length" Arguments { 0: Object, 2 more… }

----
Possibly separate, or the same:

Clicking the history tab gives:
 [0e33f8fa] 2014-09-27 01:12:45: Fatal exception of type MWException

but no extra details in webconsole
Comment 1 Quiddity 2014-09-27 01:15:35 UTC
on trello at https://trello.com/c/uUX8GriE/
Comment 3 Quiddity 2014-09-27 03:00:07 UTC
The pages have been temporarily fixed by Ebernhardson, so am lowering severity. He is unsure what caused it, but purged the problem manually. See https://trello.com/c/AoDOJxUq/ for making that purge script available via onwiki action.
Comment 4 Matthias Mullie 2014-09-28 12:45:21 UTC
Stack trace:

2014-09-28 11:40:09 mw1037 mediawikiwiki: [3476013e] /wiki/Talk:HHVM/About   Exception from line 287 of /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/AbstractQuery.php: Did not load root post S2x174x44fnr5xx7
#0 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/AbstractQuery.php(210): Flow\Formatter\AbstractQuery->getRootPost(Object(Flow\Model\PostRevision))
#1 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/TopicListQuery.php(68): Flow\Formatter\AbstractQuery->buildResult(Object(Flow\Model\PostRevision), NULL, Object(Flow\Formatter\TopicRow))
#2 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Block/TopicList.php(196): Flow\Formatter\TopicListQuery->getResults(Array)
#3 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/View.php(133): Flow\Block\TopicListBlock->renderAPI(Array)
#4 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Content/BoardContent.php(197): Flow\View->show(Object(Flow\WorkflowLoader), 'view')
#5 /srv/mediawiki/php-1.25wmf1/includes/page/WikiPage.php(2145): Flow\Content\BoardContent->getParserOutput(Object(Title), NULL, Object(ParserOptions))
#6 /srv/mediawiki/php-1.25wmf1/extensions/TemplateData/TemplateData.hooks.php(71): WikiPage->prepareContentForEdit(Object(Flow\Content\BoardContent), NULL, Object(User), 'application/jso...')
#7 [internal function]: TemplateDataHooks::onPageContentSave(Object(WikiPage), Object(User), Object(Flow\Content\BoardContent), '/* Taken over b...', 0, NULL, NULL, 25, Object(Status))
#8 /srv/mediawiki/php-1.25wmf1/includes/Hooks.php(206): call_user_func_array('TemplateDataHoo...', Array)
#9 /srv/mediawiki/php-1.25wmf1/includes/GlobalFunctions.php(3991): Hooks::run('PageContentSave', Array, NULL)
#10 /srv/mediawiki/php-1.25wmf1/includes/page/WikiPage.php(1780): wfRunHooks('PageContentSave', Array)
#11 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/TalkpageManager.php(99): WikiPage->doEditContent(Object(Flow\Content\BoardContent), '/* Taken over b...', 24, false, Object(User))
#12 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Data/Listener/OccupationListener.php(58): Flow\TalkpageManager->ensureFlowRevision(Object(Article), Object(Flow\Model\Workflow))
#13 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Data/Listener/OccupationListener.php(45): Flow\Data\Listener\OccupationListener->ensureOccupation(Object(Flow\Model\Workflow))
#14 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Data/ObjectLocator.php(308): Flow\Data\Listener\OccupationListener->onAfterLoad(Object(Flow\Model\Workflow), Array)
#15 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Data/ObjectManager.php(127): Flow\Data\ObjectLocator->load(Array)
#16 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Data/ObjectLocator.php(93): Flow\Data\ObjectManager->load(Array)
#17 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Data/ObjectLocator.php(48): Flow\Data\ObjectLocator->findMulti(Array, Array)
#18 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/WorkflowLoaderFactory.php(98): Flow\Data\ObjectLocator->find(Array)
#19 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/WorkflowLoaderFactory.php(74): Flow\WorkflowLoaderFactory->loadWorkflow(Object(Title))
#20 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Actions/Action.php(75): Flow\WorkflowLoaderFactory->createWorkflowLoader(Object(Title), NULL)
#21 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Actions/Action.php(33): Flow\Actions\FlowAction->showForAction('view')
#22 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(414): Flow\Actions\FlowAction->show()
#23 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(282): MediaWiki->performAction(Object(Article), Object(Title))
#24 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(584): MediaWiki->performRequest()
#25 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(435): MediaWiki->main()
#26 /srv/mediawiki/php-1.25wmf1/index.php(46): MediaWiki->run()
#27 /srv/mediawiki/w/index.php(3): require('/srv/mediawiki/...')
#28 {main}
Comment 5 spage 2014-09-28 23:31:31 UTC
Also happening on mw:Talk:Search

exception.log backtrace (below, key is [6ba6245c]) is similar for  #0-#3, then diverges. I think I'm viewing a different way.

If I try to view the post from "Did not load root post <UUID>" from the exception, https://www.mediawiki.org/wiki/Topic:S1b3m6774w8qpf8t , I get a worse exception with no page chrome at all, just
[7db57483] 2014-09-28 22:13:56: Fatal exception of type MWException.  That log below too.

Purging the problem post with ErikB's script didn't help, but purging Talk:Search fixed both the topic and Flow board.


Exception.log contents for visiting https://www.mediawiki.org/wiki/Talk:Search :

2014-09-28 22:03:02 mw1018 mediawikiwiki: [1beea5d6] /wiki/Talk:Search   Exception from line 287 of /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/AbstractQuery.php: Did not load root post S1b3m6774w8qpf8t
#0 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/AbstractQuery.php(210): Flow\Formatter\AbstractQuery->getRootPost()
#1 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/TopicListQuery.php(68): Flow\Formatter\AbstractQuery->buildResult()
#2 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Block/TopicList.php(196): Flow\Formatter\TopicListQuery->getResults()
#3 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/View.php(133): Flow\Block\TopicListBlock->renderAPI()
#4 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Actions/Action.php(87): Flow\View->show()
#5 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Actions/Action.php(33): Flow\Actions\FlowAction->showForAction()
#6 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(414): Flow\Actions\FlowAction->show()
#7 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(282): MediaWiki->performAction()
#8 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(584): MediaWiki->performRequest()
#9 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(435): MediaWiki->main()
#10 /srv/mediawiki/php-1.25wmf1/index.php(46): MediaWiki->run()
#11 /srv/mediawiki/w/index.php(3): include()
d#12 {main}

Exception log contents from viewing https://www.mediawiki.org/wiki/Topic:S1b3m6774w8qpf8t

2014-09-28 22:13:56 mw1021 mediawikiwiki: [7db57483] /wiki/Topic:S1b3m6774w8qpf8t   Exception from line 287 of /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/AbstractQuery.php: Did not load root post S1b3m6774w8qpf8t
#0 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/AbstractQuery.php(210): Flow\Formatter\AbstractQuery->getRootPost()
#1 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Formatter/TopicListQuery.php(68): Flow\Formatter\AbstractQuery->buildResult()
#2 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Block/Topic.php(582): Flow\Formatter\TopicListQuery->getResults()
#3 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Block/Topic.php(482): Flow\Block\TopicBlock->renderTopicAPI()
#4 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/View.php(133): Flow\Block\TopicBlock->renderAPI()
#5 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Actions/Action.php(87): Flow\View->show()
#6 /srv/mediawiki/php-1.25wmf1/extensions/Flow/includes/Actions/Action.php(33): Flow\Actions\FlowAction->showForAction()
#7 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(414): Flow\Actions\FlowAction->show()
#8 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(282): MediaWiki->performAction()
#9 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(584): MediaWiki->performRequest()
#10 /srv/mediawiki/php-1.25wmf1/includes/MediaWiki.php(435): MediaWiki->main()
#11 /srv/mediawiki/php-1.25wmf1/index.php(46): MediaWiki->run()
#12 /srv/mediawiki/w/index.php(3): include()
#13 {main}
Comment 6 Gerrit Notification Bot 2014-09-29 19:43:44 UTC
Change 163589 had a related patch set uploaded by Spage:
piecemeal loading instead of fail in getRootPost

https://gerrit.wikimedia.org/r/163589
Comment 7 Nik Everett 2014-10-02 16:46:43 UTC
Getting this when trying to view a post on [[mw:Talk:Search]].  This is the link I got in the messages: https://www.mediawiki.org/w/index.php?title=Topic:S1b3m6774w8qpf8t&fromnotif=1#flow-post-s3ermfxsleu9goor

and it blows up with this error.
Comment 8 Gerrit Notification Bot 2014-10-02 17:33:40 UTC
Change 164311 had a related patch set uploaded by Matthias Mullie:
Refactor BufferedCache

https://gerrit.wikimedia.org/r/164311
Comment 9 Matthias Mullie 2014-10-02 17:35:03 UTC
Nik: I purged the corrupted cache & page is accessible again.

Hopefully, the above patches should fix this issue.
Comment 10 Gerrit Notification Bot 2014-10-08 02:28:10 UTC
Change 164311 merged by jenkins-bot:
Refactor BufferedCache

https://gerrit.wikimedia.org/r/164311
Comment 11 Gerrit Notification Bot 2014-10-10 18:19:27 UTC
Change 166072 had a related patch set uploaded by Spage:
Bug: UUID class accepts uppercase input

https://gerrit.wikimedia.org/r/166072
Comment 12 Gerrit Notification Bot 2014-10-15 18:01:51 UTC
Change 166072 merged by jenkins-bot:
Bug: UUID class accepts uppercase input

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links