[regression] zanata-cli fails to push xliff projects

Description

When pushing an xliff project, it produced following error:
java.lang.NullPointerException
at org.zanata.client.commands.push.PushCommand.validateValidation(PushCommand.java:188)
at org.zanata.client.commands.push.PushCommand.logOptions(PushCommand.java:182)
at org.zanata.client.commands.push.PushCommand.run(PushCommand.java:211)
at org.zanata.client.commands.ConfigurableCommand.runWithActions(ConfigurableCommand.java:110)
at org.zanata.client.commands.ArgsUtil.runCommand(ArgsUtil.java:48)
at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:170)
at org.zanata.client.ZanataClient.main(ZanataClient.java:95)

Steps to reproduce:
1. Download the zanata.xml from
https://fedora.stage.zanata.org/project/view/spacewalk-frontend

2. zanata-cli -B -e pull --pull-type both --disable-ssl-cert
3. zanata-cli -B -e push --push-type both --disable-ssl-cert

Actual:
[ERROR] Execution failed:
java.lang.NullPointerException
at org.zanata.client.commands.push.PushCommand.validateValidation(PushCommand.java:188)
at org.zanata.client.commands.push.PushCommand.logOptions(PushCommand.java:182)
at org.zanata.client.commands.push.PushCommand.run(PushCommand.java:211)
at org.zanata.client.commands.ConfigurableCommand.runWithActions(ConfigurableCommand.java:110)
at org.zanata.client.commands.ArgsUtil.runCommand(ArgsUtil.java:48)
at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:170)
at org.zanata.client.ZanataClient.main(ZanataClient.java:95)

Expected:
Successfully without error.

Environment

None

Assignee

Unassigned

Reporter

Ding-Yi Chen

Labels

None

Tested Version/s

None

Components

Affects versions

Priority

Medium
Configure