Original Submission 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