Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-838

FormField.getFirstValue() throws IndexOutOfBoundsException if there are no values

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.1
    • Component/s: Extensions
    • Labels:

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

        Attachments

          Activity

            People

            Assignee:
            flow Florian Schmaus
            Reporter:
            flow Florian Schmaus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: