Upload a source document
Select a language in the languages tab
Press the dropdown on the target document
Select Upload Translation
Press the [+ Add] button
Select a valid file to upload
"Server error: error in processing" is reported by the dialog
(found when testing https://github.com/zanata/zanata-server/pull/975 but verified in 3.9.0 release branch)
Screenshot of error message in GUI is attached.
The error occurs on line 99 of zanata-war/src/main/java/org/zanata/servlet/DuplicateParamFilter.java
For the key "uploadForm:upload-file" the value.length is 0, thus "java.lang.IndexOutOfBoundsException : Invalid array range: 0 to 0".