Page MenuHomePhabricator

Exception whilst reindexing search documents
Closed, ResolvedPublic

Description

Unable to build document PHID-TASK-bl23inb77zb6ak3i4x6b with indexer ManiphestSearchIndexer.' at [/usr/src/phabricator/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:90]
[2015-07-02 05:36:17] EXCEPTION: (PhabricatorDataNotAttachedException) Attempting to access attached data on PhabricatorProject (via getProfileImageFile()), but the data is not actually attached. Before accessing attachable data on an object, you must load and attach it.

Data is normally attached by calling the corresponding needX() method on the Query class when the object is loaded. You can also call the corresponding attachX() method explicitly. at [<phabricator>/src/infrastructure/storage/lisk/PhabricatorLiskDAO.php:166]
arcanist(head=master, ref.master=29839e8c72c5), phabricator(head=master, ref.master=28e0af5a62c8), phlab(head=master, ref.master=0aee3d237436), phutil(head=master, ref.master=ea6830cc8019)
  #0 <#2> PhabricatorLiskDAO::assertAttached(string) called at [<phabricator>/src/applications/project/storage/PhabricatorProject.php:232]
  #1 <#2> PhabricatorProject::getProfileImageFile() called at [<phabricator>/src/applications/project/storage/PhabricatorProject.php:223]
  #2 <#2> PhabricatorProject::getProfileImageURI() called at [<phabricator>/src/applications/project/phid/PhabricatorProjectProjectPHIDType.php:47]
  #3 <#2> PhabricatorProjectProjectPHIDType::loadHandles(PhabricatorHandleQuery, array, array) called at [<phabricator>/src/applications/phid/query/PhabricatorHandleQuery.php:81]
  #4 <#2> PhabricatorHandleQuery::loadPage() called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:227]
  #5 <#2> PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/applications/phid/handle/pool/PhabricatorHandlePool.php:73]
  #6 <#2> PhabricatorHandlePool::loadPHIDs(array) called at [<phabricator>/src/applications/phid/handle/pool/PhabricatorHandleList.php:44]
  #7 <#2> PhabricatorHandleList::loadHandles() called at [<phabricator>/src/applications/phid/handle/pool/PhabricatorHandleList.php:49]
  #8 <#2> PhabricatorHandleList::getHandle(string) called at [<phabricator>/src/applications/phid/handle/pool/PhabricatorHandleList.php:112]
  #9 <#2> PhabricatorHandleList::current()
  #10 <#2> iterator_to_array(PhabricatorHandleList) called at [<phabricator>/src/applications/transactions/query/PhabricatorApplicationTransactionQuery.php:130]
  #11 <#2> PhabricatorApplicationTransactionQuery::willFilterPage(array) called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:236]
  #12 <#2> PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:148]
  #13 <#2> PhabricatorSearchDocumentIndexer::indexTransactions(PhabricatorSearchAbstractDocument, ManiphestTransactionQuery, array) called at [<phabricator>/src/applications/maniphest/search/ManiphestSearchIndexer.php:40]
  #14 <#2> ManiphestSearchIndexer::buildAbstractDocumentByPHID(string) called at [<phabricator>/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:48]
  #15 phlog(PhabricatorDataNotAttachedException) called at [<phabricator>/src/applications/search/index/PhabricatorSearchDocumentIndexer.php:91]
  #16 PhabricatorSearchDocumentIndexer::indexDocumentByPHID(string, NULL) called at [<phabricator>/src/applications/search/index/PhabricatorSearchIndexer.php:24]
  #17 PhabricatorSearchIndexer::indexDocumentByPHID(string, NULL) called at [<phabricator>/src/applications/search/worker/PhabricatorSearchWorker.php:12]
  #18 PhabricatorSearchWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:117]
  #19 PhabricatorWorker::scheduleTask(string, array, array) called at [<phabricator>/src/applications/search/index/PhabricatorSearchIndexer.php:14]
  #20 PhabricatorSearchIndexer::queueDocumentForIndexing(string) called at [<phabricator>/src/applications/search/management/PhabricatorSearchManagementIndexWorkflow.php:98]
  #21 PhabricatorSearchManagementIndexWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
  #22 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
  #23 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/search/manage_search.php:21]

Event Timeline

joshuaspence raised the priority of this task from to Needs Triage.
joshuaspence updated the task description. (Show Details)
joshuaspence added projects: Maniphest, Search.
joshuaspence added a subscriber: joshuaspence.
joshuaspence claimed this task.

Yep, I believe so.