Page MenuHomePhorge

PHP 8.1 "strlen(null)" exception on SVN repo page with no branches
Closed, ResolvedPublic

Description

  1. PHP 8.2.6; Phorge at cb938d869c3f7324f9d703e7e531a7d31daaa57a
  2. Go to Diffusion at http://phorge.localhost/diffusion/
  3. Select Create Repository in upper right corner to go to http://phorge.localhost/diffusion/edit/form/default/
  4. Select "Create Subversion Repository" to go to http://phorge.localhost/diffusion/edit/form/default/?vcs=svn
  5. On the Create Repository page, in the Name field, enter svn1
  6. Select the Create Repository button and end up on http://phorge.localhost/diffusion/13/manage/
  7. In the breadcrumbs navigation Diffusion > R13 > Manage > Basics, select R13 to go to http://phorge.localhost/diffusion/13/
[2023-06-04 09:53:42] EXCEPTION: (RuntimeException) strlen(): Passing null to parameter #1 ($string) of type string is deprecated at [<arcanist>/src/error/PhutilErrorHandler.php:261]
arcanist(head=master, ref.master=b325304b6e52), phorge(head=SvnRepoMain, ref.master=cb938d869c3f, ref.SvnRepoMain=cb938d869c3f)
  #0 <#2> PhutilErrorHandler::handleError(integer, string, string, integer) called at [<phorge>/src/applications/diffusion/controller/DiffusionController.php:156]
  #1 <#2> DiffusionController::buildCrumbList(array) called at [<phorge>/src/applications/diffusion/controller/DiffusionController.php:121]
  #2 <#2> DiffusionController::buildCrumbs() called at [<phorge>/src/applications/diffusion/controller/DiffusionRepositoryController.php:25]
  #3 <#2> DiffusionRepositoryController::handleRequest(AphrontRequest) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:284]
  #4 phlog(RuntimeException) called at [<phorge>/src/aphront/handler/PhabricatorDefaultRequestExceptionHandler.php:41]
  #5 PhabricatorDefaultRequestExceptionHandler::handleRequestThrowable(AphrontRequest, RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:751]
  #6 AphrontApplicationConfiguration::handleThrowable(RuntimeException) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:296]
  #7 AphrontApplicationConfiguration::processRequest(AphrontRequest, PhutilDeferredLog, AphrontPHPHTTPSink, MultimeterControl) called at [<phorge>/src/aphront/configuration/AphrontApplicationConfiguration.php:203]
  #8 AphrontApplicationConfiguration::runHTTPRequest(AphrontPHPHTTPSink) called at [<phorge>/webroot/index.php:35]

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.