Page MenuHomePhorge

Lipsum randomly fails when there are no repositories defined
Open, Needs TriagePublic

Description

 LIPSUM  Generating synthetic test objects forever. Use ^C to stop when satisfied.
[2022-03-29 02:55:47] EXCEPTION: (Error) Call to a member function getPHID() on null at [<phabricator>/src/applications/owners/lipsum/PhabricatorOwnersPackageTestDataGenerator.php:59]
arcanist(head=master, ref.master=246e604a070f), phabricator(head=master, ref.master=b293e6ffed0d)
  #0 PhabricatorOwnersPackageTestDataGenerator::generateObject() called at [<phabricator>/src/applications/lipsum/management/PhabricatorLipsumGenerateWorkflow.php:181]
  #1 PhabricatorLipsumGenerateWorkflow::generate(array, boolean) called at [<phabricator>/src/applications/lipsum/management/PhabricatorLipsumGenerateWorkflow.php:167]
  #2 PhabricatorLipsumGenerateWorkflow::execute(PhutilArgumentParser) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:492]
  #3 PhutilArgumentParser::parseWorkflowsFull(array) called at [<arcanist>/src/parser/argument/PhutilArgumentParser.php:377]
  #4 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/lipsum/manage_lipsum.php:21]

This occurs when there are no repositories defined. Tagged owners because it happens in PhabricatorOwnersPackageTestDataGenerator.php.