I have created a ne repository in diffusion.
When adding a new URI in Diffusion->Create Repository URI I get this exception:
"Argument 1 passed to PhabricatorRepositoryURI::attachRepository() must be an instance of PhabricatorRepository, null given, called in /home/phabricator/phabricator/src/applications/diffusion/editor/DiffusionURIEditor.php on line 84 and defined"
No matter what string is passed in or which options are selected, I get always the same exception.