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

Build Timeout - Timer already cancelled?

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: build-timeout-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      The following error showed up in all of my builds using the build timeout plugin
      today - restarting Hudson fixed it, but I wanted to note this so that it can get
      fixed.

      ERROR: Processing failed due to a bug in the code. Please report this to
      users@hudson.dev.java.net
      java.lang.IllegalStateException: Timer already cancelled.
      at java.util.Timer.sched(Timer.java:354)
      at java.util.Timer.schedule(Timer.java:170)
      at
      hudson.plugins.build_timeout.BuildTimeoutWrapper$1EnvironmentImpl.<init>(BuildTimeoutWrapper.java:46)
      at
      hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(BuildTimeoutWrapper.java:55)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:333)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)
      at hudson.model.Run.run(Run.java:927)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)
      project=hudson.maven.MavenModuleSet@404baf[ccbu-java-commons]
      project.getModules()=[hudson.maven.MavenModule@c5575[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-auth],
      hudson.maven.MavenModule@1be8bf1[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-common],
      hudson.maven.MavenModule@d591a6[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-common-dp],
      hudson.maven.MavenModule@14d6015[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-common-subsystem],
      hudson.maven.MavenModule@df39bc[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-java-commons-project],
      hudson.maven.MavenModule@147788d[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-wsc-cli],
      hudson.maven.MavenModule@13b8f62[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-wsm],
      hudson.maven.MavenModule@1429498[ccbu-java-commons/com.cisco.ccbu.java-commons:cisco-junit-util],
      hudson.maven.MavenModule@299629[ccbu-java-commons/com.cisco.ccbu.java-commons:cisco-util]]
      project.getRootModule()=hudson.maven.MavenModule@df39bc[ccbu-java-commons/com.cisco.ccbu.java-commons:ccbu-java-commons-project]
      FATAL: Timer already cancelled.
      java.lang.IllegalStateException: Timer already cancelled.
      at java.util.Timer.sched(Timer.java:354)
      at java.util.Timer.schedule(Timer.java:170)
      at
      hudson.plugins.build_timeout.BuildTimeoutWrapper$1EnvironmentImpl.<init>(BuildTimeoutWrapper.java:46)
      at
      hudson.plugins.build_timeout.BuildTimeoutWrapper.setUp(BuildTimeoutWrapper.java:55)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:333)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:272)
      at hudson.model.Run.run(Run.java:927)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:119)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                abayer Andrew Bayer
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: