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

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

    [ https://issues.apache.org/jira/browse/IVY-1589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580718#comment-16580718 ] 

jaikiran pai commented on IVY-1589:
-----------------------------------

Hi [~Simon Wade], are you sure this is 2.5.0-rc1 of Ivy? The line number in this stacktrace:

{code}
at java.util.AbstractCollection.remove(AbstractCollection.java:293)
        at org.apache.ivy.util.FileUtil.deepCopy(FileUtil.java:190)
{code}
in FileUtil doesn't match with the statement at that line (190) in 2.5.0-rc1.

Having said that, I suspect this bug itself is a genuine issue.



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



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