google / nomulus

Top-level domain name registry service on Google Cloud Platform

Home Page:https://registry.google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I encountered an error while creating the suffix.

a5825799 opened this issue · comments

[root@instance-1 tools]# ./nomulus -e alpha create_tld example --roid_suffix EXAMPLE --initial_tld_state GENERAL_AVAILABILITY --tld_type TEST --dns_writers ""
Exception in thread "main" java.lang.IllegalArgumentException: Invalid DNS writer name(s) specified: []
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:216)
at google.registry.tools.CreateOrUpdateTldCommand.init(CreateOrUpdateTldCommand.java:379)
at google.registry.tools.ConfirmingCommand.run(ConfirmingCommand.java:33)
at google.registry.tools.RegistryCli.runCommand(RegistryCli.java:211)
at google.registry.tools.RegistryCli.run(RegistryCli.java:152)
at google.registry.tools.RegistryTool.main(RegistryTool.java:131)
[root@instance-1 tools]# ./nomulus -e alpha create_tld example --roid_suffix EXAMPLE --initial_tld_state GENERAL_AVAILABILITY --tld_type TEST --dns_writers []
Exception in thread "main" java.lang.IllegalArgumentException: Invalid DNS writer name(s) specified: [[]]
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:216)
at google.registry.tools.CreateOrUpdateTldCommand.init(CreateOrUpdateTldCommand.java:379)
at google.registry.tools.ConfirmingCommand.run(ConfirmingCommand.java:33)
at google.registry.tools.RegistryCli.runCommand(RegistryCli.java:211)
at google.registry.tools.RegistryCli.run(RegistryCli.java:152)
at google.registry.tools.RegistryTool.main(RegistryTool.java:131)
[root@instance-1 tools]# ./nomulus -e alpha create_tld example --roid_suffix EXAMPLE --initial_tld_state GENERAL_AVAILABILITY --tld_type TEST
Exception in thread "main" java.lang.IllegalArgumentException: At least one DNS writer must be specified. VoidDnsWriter can be used if DNS writing isn't desired
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:141)
at google.registry.model.registry.Registry$Builder.build(Registry.java:1000)
at google.registry.tools.CreateOrUpdateTldCommand.init(CreateOrUpdateTldCommand.java:396)
at google.registry.tools.ConfirmingCommand.run(ConfirmingCommand.java:33)
at google.registry.tools.RegistryCli.runCommand(RegistryCli.java:211)
at google.registry.tools.RegistryCli.run(RegistryCli.java:152)
at google.registry.tools.RegistryTool.main(RegistryTool.java:131)