Unable to upload XLIFF file through Zanata client

Description

I'm trying to upload the following simple xliff file :
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2011-10-18T18:20:51Z" product-name="my-ext">
<header/>
<body>
<trans-unit id="headerComment" xml:space="preserve">
<source>The default Header Comment.</source>
</trans-unit>
<trans-unit id="generator" xml:space="preserve">
<source>The "Generator" Meta Tag.</source>
</trans-unit>
</body>
</file>
</xliff>

When lauching the following command :
zanata -e push -s . -t . --validate CONTENT

I get the following error :
[INFO] Found source documents:
[INFO] simple
[?] This will overwrite existing source documents on the server, and delete obsolete documents.

Are you sure (y/n)? y
[ERROR] Operation failed: null

To retry from the last document, please set the following option(s):

--from-doc "simple"

.
[ERROR] Execution failed:
java.lang.RuntimeException
at org.zanata.client.commands.push.PushCommand.pushCurrentModule(PushCommand.java:455)
at org.zanata.client.commands.push.PushCommand.run(PushCommand.java:209)
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)
Caused by: java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.zanata.adapter.xliff.XliffReader.extractXliff(XliffReader.java:126)
at org.zanata.adapter.xliff.XliffReader.extractTemplate(XliffReader.java:69)
at org.zanata.client.commands.push.XliffStrategy.loadSrcDoc(XliffStrategy.java:78)
at org.zanata.client.commands.push.PushCommand.pushCurrentModule(PushCommand.java:389)
... 5 more

Steps to reproduce :
1. Create a simple.xlf file with the content shown earlier in your project directory.
2. Lauch the upload through Zanata client with the following command : zanata -e push -s . -t . --validate CONTENT

Expected results :
[INFO] pushing source doc [name=simple size=646] to server

Environment

Ubuntu 15.04

Status

Assignee

Damian Jansen

Reporter

Mathieu Charest

Labels

Tested Version/s

None

Components

Affects versions

Priority

unspecified
Configure