The issue can not encountered in a "normal" usage but Tuleap should not crash because someone is playing with URLs.
You can reproduce the issue by trying to access a page like
https://tuleap.example.com/plugins/git/invalidproject%7B
Trace:
PHP Stack trace:
PHP 1. {main}() /usr/share/tuleap/src/www/index.php:0
PHP 2. Tuleap\Request\FrontRouter->route($request = *uninitialized*) /usr/share/tuleap/src/www/index.php:43
PHP 3. GitPlugin->{closure:/usr/share/tuleap/plugins/git/include/gitPlugin.class.php:2530-2537}() /usr/share/tuleap/src/common/Request/FrontRouter.php:83
PHP 4. GitPlugin->getChainOfRouters() /usr/share/tuleap/plugins/git/include/gitPlugin.class.php:2532
PHP 5. GitPlugin->getGitController() /usr/share/tuleap/plugins/git/include/gitPlugin.class.php:704
PHP 6. Git->__construct($plugin = *uninitialized*, $gerrit_server_factory = *uninitialized*, $driver_factory = *uninitialized*, $repository_manager = *uninitialized*, $system_event_manager = *uninitialized*, $gerrit_usermanager = *uninitialized*, $git_repository_factory = *uninitialized*, $user_manager = *uninitialized*, $project_manager = *uninitialized*, $plugin_manager = *uninitialized*, $request = *uninitialized*, $project_creator = *uninitialized*, $template_factory = *uninitialized*, $permissions_manager = *uninitialized*, $url_manager = *uninitialized*, $logger = *uninitialized*, $mirror_data_mapper = *uninitialized*, $project_creator_status = *uninitialized*, $gerrit_can_migrate_checker = *uninitialized*, $fine_grained_updater = *uninitialized*, $fine_grained_permission_factory = *uninitialized*, $fine_grained_retriever = *uninitialized*, $fine_grained_permission_saver = *uninitialized*, $default_fine...