Bug 1172911

Summary: zanata-cli on Fedora for xliff project has NullPointerException during push when --validate is not specified
Product: [Retired] Zanata Reporter: David Mason <damason>
Component: Component-zanata-clientAssignee: Damian Jansen <djansen>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-29 02:09:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Mason 2014-12-11 04:29:13 UTC
Description of problem:
With zanata-cli installed on Fedora today using `sudo yum install zanata-client`, trying to push a single xliff file caused a NullPointerException in PushCommand.validateValidation(). Repeating the same command with ` --validate CONTENT` appended does not generate a NullPointerException.

Version-Release number of selected component (if applicable):
Client version is unknown since the --version command generates no output.


How reproducible:
Easy, always

Steps to Reproduce:
1. sudo yum install zanata-cli
2. create a project config for an xliff project
3. run `zanata-cli -e push -s src -t trans`
4. run `zanata-cli -e push -s src -t trans --validate CONTENT`

Actual results:
3. NullPointerException is reported.
4. No exception is reported.


Expected results:
3 & 4. No exception is reported.

Comment 1 Zanata Migrator 2015-07-29 02:09:06 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-125