Impossible to export / import bv and jc with error "Premature end of file"

Document ID : KB000112651
Last Modified Date : 31/08/2018
Show Technical Document Details
Issue:
While trying to backup the Business Views and Job Chains, the uniimp / uniexp commands fail with the following errors.

On uniexp output:
SEVERE: cannot find the BVI data file in com.orsyp.api.Context@

In universe.log: 
----------------------------------------------
 |WARN |X|IO |pid=p.t| encodeFileResponse | unable to read file [/dollar_universe/data/exp/TXXXXXXXX.bvi]
----------------------------------------------

On uniimp output:
importing BVNAME.BV ... Error while creating business view BVNAME.BV. org.dom4j.DocumentException: Error on line -1 of document  : Premature end of file. Nested exception: Premature end of file.

When displaying the BV and JC from UVC, an empty object is displayed.
Environment:
All OS
Cause:
Business View and Job Chains were empty (not correctly created) .
Resolution:
Business view and Job Chains were empty so they could not be exported / imported.
Solution: save the business view with some content on it.