You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Simon Wade (JIRA)" <ji...@apache.org> on 2018/08/15 05:27:00 UTC

[jira] [Updated] (IVY-1589) UnsupportedOperationException on consecutive retrieves

     [ https://issues.apache.org/jira/browse/IVY-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Wade updated IVY-1589:
----------------------------
    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:
{noformat}
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
{noformat}
 

  was:
Following a successful retrieve with overwriteMode set to "always", subsequent retrieve tasks seem to throw an UnsupportedOperationException, as shown in the following stack trace:
{noformat}
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:190)
        at org.apache.ivy.util.FileUtil.copy(FileUtil.java:143)
        at org.apache.ivy.core.retrieve.RetrieveEngine.retrieve(RetrieveEngine.java:171)
        ... 19 more
{noformat}
 


> UnsupportedOperationException on consecutive retrieves
> ------------------------------------------------------
>
>                 Key: IVY-1589
>                 URL: https://issues.apache.org/jira/browse/IVY-1589
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.0-rc1
>            Reporter: Simon Wade
>            Priority: Major
>
> Following a successful retrieve with overwriteMode set to "always", subsequent retrieve tasks seem to throw an UnsupportedOperationException, as shown in the following stack trace:
> {noformat}
> 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
> {noformat}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)