•  
      request #15097 PHP Fatal error while processing the setup of gerrit dev
    Infos
    #15097
    Yannis ROSSETTO (rossettoy)
    2020-07-09 12:21
    2020-07-09 10:36
    16362
    Details
    PHP Fatal error while processing the setup of gerrit dev
    While processing the setup of gerrit dev with the command tuleap-dev.php gerrit-setup, there is the following PHP fatal error:

    First Login successful
    SSH key for Tuleap -> Gerrit connexion generated
    SSH key for Tuleap -> Gerrit is there
    SSH key successfully pushed
    Replication group created
    Replication reloaded
    Permissions on All-Projects updated
    Warning: Permanently added '[gerrit.tuleap-aio-dev.docker]:29418,[172.19.0.9]:29418' (ECDSA) to the list of known hosts.
    SSH connection done with gerrit version 2.16.3
    PHP Fatal error: Uncaught TypeError: Return value of "TuleapDev\GerritSetupCommand::execute()" must be of the type int, NULL returned. in /usr/share/tuleap/src/vendor/symfony/console/Command/Command.php:258
    Stack trace:
    #0 /usr/share/tuleap/src/vendor/symfony/console/Application.php(924): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #1 /usr/share/tuleap/src/vendor/symfony/console/Application.php(265): Symfony\Component\Console\Application->doRunCommand(Object(TuleapDev\GerritSetupCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #2 /usr/share/tuleap/src/vendor/symfony/console/Application.php(141): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
    #3 /usr/share/tuleap/tools/utils/tuleap-dev.php(35): Symfony\Component\Console\Application->run()
    #4 {main}
    in /usr/share/tuleap/src/vendor/symfony/console/Command/Command.php on line 258
    Dev tools
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Yannis ROSSETTO (rossettoy)
    Closed
    2020-07-09
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2020-07-09 12:21
    Integrated into Tuleap 11.16.99.110.

    • Category set to Dev tools
    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2020-07-09