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

SCM polling gives java.lang.NoSuchFieldError: HOURS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • mercurial-plugin
    • None
    • Platform: Macintosh, OS: All

      Since I moved to Mercurial plugin 1.20 I get this in the glassfish log and jobs
      aren't scheduled:

      [#|2009-09-23T03:09:31.294-0700|SEVERE|sun-appserver2.1|hudson.triggers.SCMTrigger|_ThreadID=19;_ThreadName=SCM
      polling for
      hudson.matrix.MatrixProject@9c8ce3[AuthoringTool-Continuous];_RequestID=c05bb485-d240-4f72-8b67-e9e2ec8bb5eb;|Failed
      to record SCM polling
      java.lang.NoSuchFieldError: HOURS
      at hudson.plugins.mercurial.MercurialSCM.pollChanges(MercurialSCM.java:192)
      at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:1033)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:317)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:344)
      at
      hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:114)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:613)

      #]

      I thought at first it was coming from the fact I was using Hudson war 1.323 and
      possibly the Mercurial plug-in was requiring Hudson war 1.324.
      I moved to Hudson 1.324, not better.
      Now I moved to Mercurial plug-in 1.21, not better.
      Any idea ?

            jglick Jesse Glick
            yjoan yjoan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: