Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12987

Concurrent Modification Exception for CVS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • core, cvs-plugin
    • CentOS 6.0 Master, CentOS 5.5 slave, CVS

      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.

            Unassigned Unassigned
            khushsk Sagar Khushalani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: