上传的项目图片:“Jenkins Artifactory插件”
  1. Jenkins Artifactory插件
  2. hap - 1209

并发工件下载过程中的ConcurrentModificationException

    XML 可打印的

    细节

    • 类型: 错误
    • 状态: Resolved
      A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">解决
    • 解决方法: 完成
    • 影响版本/ s: 3.1.0
    • 修复版本/ s: 3.4.0
    • 组件/ s: 没有一个
    • 标签:
      没有一个

      描述

      并发下载文件时出现ConcurrentModificationException。由于对3个下载线程使用1个HttpClient导致。

      java.util.ConcurrentModificationException在java.util.AbstractList$Itr。在java.util.AbstractList中删除(未知源)。removeRange(未知来源)在java.util.AbstractList。明确(未知源)org.apache.http.impl.execchain.RedirectExec.execute (RedirectExec.java: 103) org.apache.http.impl.client.InternalHttpClient.doExecute (InternalHttpClient.java: 185) org.apache.http.impl.client.CloseableHttpClient.execute (CloseableHttpClient.java: 83) org.jfrog.build.client.PreemptiveHttpClient.execute (PreemptiveHttpClient.java: 102) org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.execute (ArtifactoryDependenciesClient.java: 200)org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.saveRequestToFile(DependenciesDownloaderHelper.java:385) at .jfrog.build.extractor. clientconfiguration .util. dependenciesdownloaderhelper .access$000(DependenciesDownloaderHelper.java:41) at .jfrog.build.extractor. clientconfiguration .util. dependenciesdownloaderhelper .access在java.lang. org. jfrogbuild .extractor. clientconfiguration .util. dependenciesdownloaderhelper $1.run(DependenciesDownloaderHelper.java:349)。线程.run(未知来源)由以下原因引起:java.lang.Exception: Error occurred下载http://artifactory/foo.zip,请参考日志更多信息请参见org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.doConcurrentDownload(DependenciesDownloaderHelper.java:369)在org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact(DependenciesDownloaderHelper.java:276)…19日更

      这个Jira取代了:https://issues.jenkins-ci.org/browse/JENKINS-57881

        附件

          问题的链接

            活动

              受让人:
              yahaviYahav伊扎克。
              记者:
              yahaviYahav伊扎克。
              投票:
              0 为这个问题投票
              观察人士:
              3. 开始收看本期节目

                日期

                创建:
                更新:
                解决: