Hi,
It will be great if you specify the Odoo version along with the post. The raised error seems to be something that might be related with the input that you given to create the company.
Could you do one thing, open the same odoo version in odoo runbot and try creating company with the same details that you have entered and see if you can get the same issue there.
If yes, with detailed steps to reproduce the issue, please report it at: https://github.com/odoo/odoo/issues
If the issue is not able to reproduce in the runbot, then it might be something related with your odoo configuration, like custom codes, missing package etc.
Thanks