{"record":{"id":"bc8c8816f231f8a3","repo":"phacility/phabricator","slug":"failed-to-load-file-object-for-git-lfs-ref-s","errorCode":null,"errorMessage":"Failed to load file object for Git LFS ref \"%s\"!","messagePattern":"Failed to load file object for Git LFS ref \"(.+?)\"!","errorType":"exception","errorClass":"Exception","httpStatus":null,"severity":"error","filePath":"src/applications/diffusion/controller/DiffusionBrowseController.php","lineNumber":1045,"sourceCode":"    if ($messages) {\n      $corpus->setInfoView(\n        id(new PHUIInfoView())\n          ->setSeverity($severity)\n          ->setErrors($messages));\n    }\n\n    return $corpus;\n  }\n\n  private function loadGitLFSFile(PhabricatorRepositoryGitLFSRef $ref) {\n    $viewer = $this->getViewer();\n\n    $file = id(new PhabricatorFileQuery())\n      ->setViewer($viewer)\n      ->withPHIDs(array($ref->getFilePHID()))\n      ->executeOne();\n    if (!$file) {\n      throw new Exception(\n        pht(\n          'Failed to load file object for Git LFS ref \"%s\"!',\n          $ref->getObjectHash()));\n    }\n\n    return $file;\n  }\n\n}\n","sourceCodeStart":1027,"sourceCodeEnd":1055,"githubUrl":"https://github.com/phacility/phabricator/blob/5720a38cfe95b00ca4be5016dd0d2f3195f4fa04/src/applications/diffusion/controller/DiffusionBrowseController.php#L1027-L1055","documentation":"Error \"Failed to load file object for Git LFS ref \"%s\"!\" thrown in phacility/phabricator.","triggerScenarios":"Thrown at src/applications/diffusion/controller/DiffusionBrowseController.php:1045 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5720a38cfe95b00ca4be5016dd0d2f3195f4fa04","analyzedAt":"2026-08-21T05:07:25.672Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}