Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1589

UnsupportedOperationException on consecutive retrieves

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-rc1
    • Fix Version/s: 2.5.0
    • Component/s: Core
    • Labels:
      None

      Description

      Following a successful retrieve with overwriteMode set to "always", subsequent retrieve tasks seem to throw an UnsupportedOperationException, as shown in the following stack trace:

      Caused by: java.lang.UnsupportedOperationException
              at java.util.AbstractList.remove(AbstractList.java:161)
              at java.util.AbstractList$Itr.remove(AbstractList.java:374)
              at java.util.AbstractCollection.remove(AbstractCollection.java:293)
              at org.apache.ivy.util.FileUtil.deepCopy(FileUtil.java:188)
              at org.apache.ivy.util.FileUtil.copy(FileUtil.java:143)
              at org.apache.ivy.core.retrieve.RetrieveEngine.retrieve(RetrieveEngine.java:171)
              ... 19 more
      

       

        Attachments

          Activity

            People

            • Assignee:
              jaikiran Jaikiran Pai
              Reporter:
              Simon Wade Simon Wade
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: