• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • s3-plugin
    • None
    • Jenkins ver. 2.204.2

      Hi,

      We've been running into this issue lately and I think the below line that’s throwing the exception: 
      https://github.com/jenkinsci/s3-plugin/blob/master/src/main/java/hudson/plugins/s3/S3Profile.java#L240

      Any ideas?

      java.util.ConcurrentModificationExceptionjava.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) at java.util.ArrayList$Itr.next(ArrayList.java:859) at hudson.plugins.s3.S3Profile.downloadAll(S3Profile.java:240) at hudson.plugins.s3.S3CopyArtifact.perform(S3CopyArtifact.java:270) at hudson.plugins.s3.S3CopyArtifact.perform(S3CopyArtifact.java:242) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:80) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:67) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)Finished: FAILURE

          [JENKINS-62131] java.util.ConcurrentModificationException

          Vlad Aginsky added a comment -

          see similar issues recently:

          [2020-05-10T13:52:46.889Z] java.util.ConcurrentModificationException
          [2020-05-10T13:52:46.889Z] at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
          [2020-05-10T13:52:46.889Z] at java.util.ArrayList$Itr.next(ArrayList.java:859)
          [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73)
          [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
          [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
          [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
          [2020-05-10T13:52:46.889Z] at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:262)
          [2020-05-10T13:52:46.889Z] at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:249)
          [2020-05-10T13:52:46.889Z] Caused: java.lang.RuntimeException: Failed to serialize hudson.plugins.s3.S3ArtifactsAction#artifacts for class hudson.plugins.s3.S3ArtifactsAction
          [2020-05-10T13:52:46.889Z] at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:253)

          Vlad Aginsky added a comment - see similar issues recently: [2020-05-10T13:52:46.889Z] java.util.ConcurrentModificationException [2020-05-10T13:52:46.889Z] at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909) [2020-05-10T13:52:46.889Z] at java.util.ArrayList$Itr.next(ArrayList.java:859) [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:73) [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) [2020-05-10T13:52:46.889Z] at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) [2020-05-10T13:52:46.889Z] at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:262) [2020-05-10T13:52:46.889Z] at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:249) [2020-05-10T13:52:46.889Z] Caused: java.lang.RuntimeException: Failed to serialize hudson.plugins.s3.S3ArtifactsAction#artifacts for class hudson.plugins.s3.S3ArtifactsAction [2020-05-10T13:52:46.889Z] at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:253)

            jimilian Alexander A
            msabastian Maria Sabastian
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: