When uploading a file that somehow has empty parameters, the batching process ends up with an empty list of states and breaks with the indicated exception.
https://github.com/zanata/zanata-server/pull/1164