Page MenuHomePhabricator

Exception when accessing to a Phabricator mock: "Attempting to add more metadata after metadata has been locked."
Closed, ResolvedPublic

Description

When I load https://phabricator.wikimedia.org/M101 (M101) I get...

exception-mock.png (251×899 px, 6 KB)

Exception
Attempting to add more metadata after metadata has been locked.

Event Timeline

Aklapper renamed this task from Unhandled exception when accessing to a Phabricator mock to Exception when accessing to a Phabricator mock: "Attempting to add more metadata after metadata has been locked.".Mar 15 2019, 10:47 PM

Confirming. https://phabricator.wikimedia.org/pholio/edit/101/ works though.

https://secure.phabricator.com/D17209 (closed two years ago) in upstream mentions that error message.

@mmodell: Could you look up the stack trace in the logs if you find time? (I'm afraid I cannot do that myself). TIA!

25phabricatorinfrastructure/javelin/markup.php : 22CelerityStaticResourceResponse::addMetadata()
24phabricatorview/AphrontTagView.php : 161javelin_tag()
23phabricatorinfrastructure/markup/rule/PhabricatorObjectRemarkupRule.php : 177AphrontTagView::render()
22phabricatorinfrastructure/markup/rule/PhabricatorObjectRemarkupRule.php : 108PhabricatorObjectRemarkupRule::renderHovertag()
21phabricatorinfrastructure/markup/rule/PhabricatorObjectRemarkupRule.php : 84PhabricatorObjectRemarkupRule::renderObjectRef()
20phabricatorinfrastructure/markup/rule/PhabricatorObjectRemarkupRule.php : 389PhabricatorObjectRemarkupRule::renderObjectRefForAnyMedia()
19phutilmarkup/engine/PhutilRemarkupEngine.php : 293PhabricatorObjectRemarkupRule::didMarkupText()
18phabricatorinfrastructure/markup/PhabricatorMarkupEngine.php : 144PhutilRemarkupEngine::postprocessText()
17phabricatorinfrastructure/markup/PhabricatorMarkupEngine.php : 73PhabricatorMarkupEngine::process()
16phabricatorinfrastructure/markup/view/PHUIRemarkupView.php : 90PhabricatorMarkupEngine::renderOneObject()
15phabricatorview/AphrontView.php : 222PHUIRemarkupView::render()
14phutilmarkup/render.php : 111AphrontView::producePhutilSafeHTML()
13(Internal)phutil_escape_html()
12phutilmarkup/render.php : 181array_map()
11phabricatoraphront/response/AphrontResponse.php : 317hsprintf()
10(Internal)AphrontResponse::processValueForJSONEncoding()
9phabricatoraphront/response/AphrontResponse.php : 333array_walk_recursive()
8phabricatorapplications/celerity/CelerityStaticResourceResponse.php : 279AphrontResponse::encodeJSONForHTTPResponse()
7phabricatorview/page/PhabricatorStandardPageView.php : 583CelerityStaticResourceResponse::renderHTMLFooter()
6phabricatorview/page/AphrontPageView.php : 51PhabricatorStandardPageView::getTail()
5phabricatorview/page/PhabricatorStandardPageView.php : 889AphrontPageView::render()
4phabricatoraphront/configuration/AphrontApplicationConfiguration.php : 715PhabricatorStandardPageView::produceAphrontResponse()
3phabricatoraphront/configuration/AphrontApplicationConfiguration.php : 301AphrontApplicationConfiguration::produceResponse()
2phabricatoraphront/configuration/AphrontApplicationConfiguration.php : 209AphrontApplicationConfiguration::processRequest()
1/srv/deployment/phabricator/deployment-cache/revs/61f10999d8837a8c9dbeea12f67b2554daf057ab/phabricator/webroot/index.php : 35AphrontApplicationConfiguration::runHTTPRequest()
epriestley moved this task from Backlog to Solved upstream on the Phabricator (Upstream) board.
epriestley subscribed.

This is linked elsewhere in connected tasks already, but I believe the upstream change in https://secure.phabricator.com/D20647 should fix this.

abian assigned this task to epriestley.

Thanks! :D