A colleague of mine was trying to create a burn-down chart on a sprint (Milestone of a project) in our instance of Phabricator with the Sprint extension, but got the error in the title.
Trying to debug it I extracted the full stack trace in JSON format:
[ { "file":"\/phabricator\/src\/applications\/transactions\/storage\/PhabricatorApplicationTransaction.php", "line":409, "function":"newFromPolicyAndHandle", "class":"PhabricatorPolicy", "type":"::", "args":[ null, null ] }, { "file":"\/phabricator\/src\/applications\/transactions\/storage\/PhabricatorApplicationTransaction.php", "line":864, "function":"renderPolicyName", "class":"PhabricatorApplicationTransaction", "object":{}, "type":"->", "args":[ null, "old" ] }, { "file":"\/phabricator\/src\/applications\/maniphest\/storage\/ManiphestTransaction.php", "line":638, "function":"getTitle", "class":"PhabricatorApplicationTransaction", "object":{}, "type":"->", "args":[ ] }, { "file":"\/phabricator\/libext\/Sprint\/src\/query\/SprintQuery.php", "line":345, "function":"getTitle", "class":"ManiphestTransaction", "object":{}, "type":"->", "args":[ ] }, { "file":"\/phabricator\/libext\/Sprint\/src\/query\/SprintQuery.php", "line":272, "function":"extractEvents", "class":"SprintQuery", "object":{}, "type":"->", "args":[ { "32741":{}, "32740":{}, "32739":{}, "32738":{}, "32737":{}, "32735":{}, "32734":{}, "32733":{}, "32732":{}, "32692":{}, "32691":{}, "32690":{}, "32689":{}, "32688":{}, "32687":{}, "32686":{}, "32685":{}, "32596":{}, "32595":{}, "32594":{}, "32592":{}, "32591":{}, "32590":{}, "32589":{}, "32588":{}, "31037":{}, "31036":{}, "31035":{}, "31034":{}, "31033":{}, "31032":{}, "31031":{}, "31030":{}, "31029":{}, "31028":{}, "31027":{}, "31026":{}, "31025":{}, "31024":{}, "31023":{}, "31022":{}, "31021":{}, "31020":{}, "31019":{}, "31018":{}, "31017":{}, "31016":{}, "31015":{}, "31014":{}, "31013":{}, "31012":{}, "31011":{}, "31010":{}, "31009":{}, "31008":{}, "31007":{}, "31006":{}, "31005":{}, "31004":{}, "31003":{}, "31002":{}, "31001":{}, "31000":{}, "30999":{}, "30998":{}, "30997":{}, "30996":{}, "30995":{}, "30994":{}, "30993":{}, "30992":{}, "30991":{}, "30990":{}, "30989":{} } ] }, { "file":"\/phabricator\/libext\/Sprint\/src\/view\/burndown\/SprintDataView.php", "line":157, "function":"getEvents", "class":"SprintQuery", "object":{}, "type":"->", "args":[ { "32741":{}, "32740":{}, "32739":{}, "32738":{}, "32737":{}, "32735":{}, "32734":{}, "32733":{}, "32732":{}, "32692":{}, "32691":{}, "32690":{}, "32689":{}, "32688":{}, "32687":{}, "32686":{}, "32685":{}, "32596":{}, "32595":{}, "32594":{}, "32592":{}, "32591":{}, "32590":{}, "32589":{}, "32588":{}, "31037":{}, "31036":{}, "31035":{}, "31034":{}, "31033":{}, "31032":{}, "31031":{}, "31030":{}, "31029":{}, "31028":{}, "31027":{}, "31026":{}, "31025":{}, "31024":{}, "31023":{}, "31022":{}, "31021":{}, "31020":{}, "31019":{}, "31018":{}, "31017":{}, "31016":{}, "31015":{}, "31014":{}, "31013":{}, "31012":{}, "31011":{}, "31010":{}, "31009":{}, "31008":{}, "31007":{}, "31006":{}, "31005":{}, "31004":{}, "31003":{}, "31002":{}, "31001":{}, "31000":{}, "30999":{}, "30998":{}, "30997":{}, "30996":{}, "30995":{}, "30994":{}, "30993":{}, "30992":{}, "30991":{}, "30990":{}, "30989":{} }, { "PHID-TASK-eoyqd7nyorlygz6ak2ng":{}, "PHID-TASK-osl7yjongtjgtsiocxw5":{}, "PHID-TASK-qvyr47paabbcfvyb3l45":{}, "PHID-TASK-7wkd4y263t46gtlbrkzy":{}, "PHID-TASK-2tnimknsliru2fnkzz6z":{}, "PHID-TASK-4im6ok2mnjruytx4rmie":{}, "PHID-TASK-dcnznoskbglr3vycfdoq":{} } ] }, { "file":"\/phabricator\/libext\/Sprint\/src\/view\/burndown\/SprintDataView.php", "line":110, "function":"setEvents", "class":"SprintDataView", "object":{}, "type":"->", "args":[ {} ] }, { "file":"\/phabricator\/src\/view\/AphrontView.php", "line":222, "function":"render", "class":"SprintDataView", "object":{}, "type":"->", "args":[ ] }, { "file":"\/libphutil\/src\/markup\/render.php", "line":133, "function":"producePhutilSafeHTML", "class":"AphrontView", "object":{}, "type":"->", "args":[ ] }, { "file":"\/libphutil\/src\/markup\/render.php", "line":189, "function":"phutil_escape_html", "args":[ {} ] }, { "file":"\/phabricator\/src\/view\/page\/PhabricatorBarePageView.php", "line":58, "function":"phutil_implode_html", "args":[ "", [ null, {} ] ] }, { "file":"\/phabricator\/src\/view\/page\/PhabricatorStandardPageView.php", "line":199, "function":"willRenderPage", "class":"PhabricatorBarePageView", "object":{ }, "type":"->", "args":[ ] }, { "file":"\/phabricator\/src\/view\/page\/AphrontPageView.php", "line":46, "function":"willRenderPage", "class":"PhabricatorStandardPageView", "object":{}, "type":"->", "args":[ ] }, { "file":"\/phabricator\/src\/view\/page\/PhabricatorStandardPageView.php", "line":890, "function":"render", "class":"AphrontPageView", "object":{}, "type":"->", "args":[ ] }, { "file":"\/phabricator\/src\/aphront\/configuration\/AphrontApplicationConfiguration.php", "line":649, "function":"produceAphrontResponse", "class":"PhabricatorStandardPageView", "object":{}, "type":"->", "args":[ ] }, { "file":"\/phabricator\/src\/aphront\/configuration\/AphrontApplicationConfiguration.php", "line":278, "function":"produceResponse", "class":"AphrontApplicationConfiguration", "object":{}, "type":"->", "args":[ {}, {} ] }, { "file":"\/phabricator\/src\/aphront\/configuration\/AphrontApplicationConfiguration.php", "line":181, "function":"processRequest", "class":"AphrontApplicationConfiguration", "object":{ }, "type":"->", "args":[ {}, {}, {}, {} ] }, { "file":"\/phabricator\/webroot\/index.php", "line":17, "function":"runHTTPRequest", "class":"AphrontApplicationConfiguration", "type":"::", "args":[ {} ] } ]
Does the error message or this trace tell something to someone?
I can do more tests or give more data if required.
Thank you!
PS: just to add that the functionality is working properly for other projects/subprojects/milestones