Concurrent Modification Exception for CVS

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      CVS polling fails on some projects with the following exception (following is in the CVS Polling Log):

      ERROR: Failed to record SCM polling
      java.util.ConcurrentModificationException
      	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782)
      	at java.util.ArrayList$Itr.next(ArrayList.java:754)
      	at hudson.scm.CVSSCM.compareRemoteRevisionWith(CVSSCM.java:356)
      	at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      	at hudson.scm.SCM.poll(SCM.java:373)
      	at hudson.model.AbstractProject.poll(AbstractProject.java:1323)
      	at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
      	at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
      	at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:636)
      

      This causes the polling to fail, and the project to not find any differences, therefore not build on update.

            Assignee:
            Unassigned
            Reporter:
            Sagar Khushalani
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: