FormField.getFirstValue() throws IndexOutOfBoundsException if there are no values
Description
{{ java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at org.jivesoftware.smackx.xdata.FormField.getFirstValue(FormField.java:265) at org.jivesoftware.smackx.httpfileupload.HttpFileUploadManager.uploadServiceFrom(HttpFileUploadManager.java:160)}}
{{ java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at org.jivesoftware.smackx.xdata.FormField.getFirstValue(FormField.java:265) at org.jivesoftware.smackx.httpfileupload.HttpFileUploadManager.uploadServiceFrom(HttpFileUploadManager.java:160)}}