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

UnsupportedOperationException on consecutive retrieves

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0-rc1
    • 2.5.0
    • Core
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: