Page MenuHomePhabricator

Call to a member function setObjectURI() on a non-object (NULL)
Closed, DuplicatePublic

Description

When accessing the profile page of a sprint in my Phabricator instance, I see following exception with HHVM 3.7.3~jessie:

Unhandled Exception ("BadMethodCallException")
Call to a member function setObjectURI() on a non-object (NULL)

/var/log/hhvm/error.log logs:

[2015-07-27 10:58:31] EXCEPTION: (BadMethodCallException) Call to a member function setObjectURI() on a non-object (NULL) at [<phabricator>/src/view/layout/PhabricatorActionListView.php:50]
arcanist(head=stable, ref.master=999eb9376568, ref.stable=d54cb072facd), libphremoteuser(head=master, ref.master=1def4e2d7f07), phabricator(head=stable, ref.master=f0bf7a8e2621, ref.stable=2e82fb07cdc1), phutil(head=stable, ref.master=aa6cd8f7e5e5, ref.stable=83f09f6c5a03)
, sprint(head=production, ref.master=4912ecf41ef1, ref.production=2846fc28ae19)
  #0 <#2> phutil_tag() called at [<phabricator>/src/view/phui/PHUIPropertyListView.php:234]
  #1 <#2> PHUIPropertyListView::renderPropertyPart() called at [<phabricator>/src/view/phui/PHUIPropertyListView.php:149]
  #2 <#2> phutil_tag() called at [<phabricator>/src/infrastructure/javelin/markup.php:53]
  #3 <#2> javelin_tag() called at [<phabricator>/src/view/AphrontTagView.php:152]
  #4 <#2> phutil_escape_html() called at [<phutil>/src/markup/render.php:139]
  #5 <#2> phutil_escape_html() called at [<phutil>/src/markup/render.php:157]
  #6 <#2> phutil_escape_html() called at [<phutil>/src/markup/render.php:119]
  #7 <#2> phutil_tag() called at [<phabricator>/src/view/layout/AphrontSideNavFilterView.php:322]
  #8 <#2> AphrontSideNavFilterView::renderFlexNav() called at [<phabricator>/src/view/layout/AphrontSideNavFilterView.php:206]
  #9 <#2> AphrontSideNavFilterView::render() called at [<phabricator>/src/view/AphrontView.php:176]
  #10 <#2> AphrontView::producePhutilSafeHTML() called at [<phutil>/src/markup/render.php:133]
  #11 <#2> phutil_escape_html() called at [<phutil>/src/markup/render.php:189]
  #12 <#2> phutil_implode_html() called at [<phabricator>/src/view/page/PhabricatorBarePageView.php:58]
  #13 <#2> PhabricatorBarePageView::willRenderPage() called at [<phabricator>/src/view/page/PhabricatorStandardPageView.php:157]
  #14 <#2> PhabricatorStandardPageView::willRenderPage() called at [<phabricator>/src/view/page/AphrontPageView.php:46]
  #15 <#2> AphrontPageView::render() called at [<phabricator>/src/applications/base/controller/PhabricatorController.php:308]
  #16 <#2> PhabricatorController::buildPageResponse() called at [<phabricator>/src/applications/base/controller/PhabricatorController.php:370]
  #17 <#2> PhabricatorController::buildApplicationPage() called at [<phabricator>/src/applications/project/controller/PhabricatorProjectProfileController.php:71]
  #18 <#2> PhabricatorProjectProfileController::handleRequest() called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:226]
  #19 phlog() called at [<phabricator>/src/aphront/configuration/AphrontDefaultApplicationConfiguration.php:229]
  #20 AphrontDefaultApplicationConfiguration::handleException() called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:230]
  #21 AphrontApplicationConfiguration::processRequest() called at [<phabricator>/src/aphront/configuration/AphrontApplicationConfiguration.php:140]
  #22 AphrontApplicationConfiguration::runHTTPRequest() called at [<phabricator>/webroot/index.php:21]

With PHP5-FPM 5.6.9+dfsg-0+deb8u1 I see:

>>> UNRECOVERABLE FATAL ERROR <<<

Call to a member function setObjectURI() on null

/opt/phabricator/phabricator/src/view/layout/PhabricatorActionListView.php:50


┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻

Nothing is logged to /var/log/php5-fpm.log.

Versions (all are on stable or production branches):

arcanist: 5fcf7b5a3b9ebbb42130b25f165283dbe2476f0c
libphutil: aa6cd8f7e5e5e637dcfcb8417fbc343b45820c93
phabricator-extensions-remoteuser: 1def4e2d7f07ef50330bbd5421f273c0a1d11a55
phabricator-extensions-sprint: 2846fc28ae19f28243c70dc1c932ec51c0ecfde2
phabricator: 1c9e0efb4cae0ee8315ea781216f2c6905943af2