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)}}

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Expected Effort

Ignite Forum URL

Components

Fix versions

Affects versions

Priority

Created September 27, 2018 at 6:46 PM
Updated October 28, 2020 at 1:28 PM
Resolved October 14, 2018 at 10:51 AM