java.lang.NoSuchMethodError: hudson.model.Job.hasCascadingProject()Z

Jenkins JIRA | Forrest Girouard | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    All my jobs are failing with the error below. I just upgraded from Hudson to Jenkins by dropping in jenkins.war renamed to hudson.war. I get the same error using stable (1.480.2) and current (1.500). The subversion plug-in is version 2.3.7. Hudson/Jenkins is being run using the wrapper setup. Started on Feb 6, 2013 6:45:20 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@c70856b[soc] java.lang.NoSuchMethodError: hudson.model.Job.hasCascadingProject()Z at hudson.scm.PerJobCredentialStore.getXmlFile(PerJobCredentialStore.java:137) at hudson.scm.PerJobCredentialStore.<init>(PerJobCredentialStore.java:58) at hudson.scm.SubversionSCM$DescriptorImpl.createAuthenticationProvider(SubversionSCM.java:1818) at hudson.scm.SubversionSCM$DescriptorImpl.getRepository(SubversionSCM.java:2067) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:2037) at hudson.scm.SubversionSCM.repositoryLocationsNoLongerExist(SubversionSCM.java:2270) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1102) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1493) at hudson.model.AbstractProject.poll(AbstractProject.java:1410) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 4 years ago | Forrest Girouard
    java.lang.NoSuchMethodError: hudson.model.Job.hasCascadingProject()Z
  2. 0

    All my jobs are failing with the error below. I just upgraded from Hudson to Jenkins by dropping in jenkins.war renamed to hudson.war. I get the same error using stable (1.480.2) and current (1.500). The subversion plug-in is version 2.3.7. Hudson/Jenkins is being run using the wrapper setup. Started on Feb 6, 2013 6:45:20 PM ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@c70856b[soc] java.lang.NoSuchMethodError: hudson.model.Job.hasCascadingProject()Z at hudson.scm.PerJobCredentialStore.getXmlFile(PerJobCredentialStore.java:137) at hudson.scm.PerJobCredentialStore.<init>(PerJobCredentialStore.java:58) at hudson.scm.SubversionSCM$DescriptorImpl.createAuthenticationProvider(SubversionSCM.java:1818) at hudson.scm.SubversionSCM$DescriptorImpl.getRepository(SubversionSCM.java:2067) at hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:2037) at hudson.scm.SubversionSCM.repositoryLocationsNoLongerExist(SubversionSCM.java:2270) at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1102) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1493) at hudson.model.AbstractProject.poll(AbstractProject.java:1410) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Jenkins JIRA | 4 years ago | Forrest Girouard
    java.lang.NoSuchMethodError: hudson.model.Job.hasCascadingProject()Z
  3. 0

    Hi, System Info Jenkins ver. 1.472 Subversion plugin - 2.4.5 Subversion tagging plugin - 1.17 svnkit - 1.6 Jdk - 1.7 I tried to upgrade svn tagging plugin to 1.17 from 1.16 and started getting following error. I even tried to revert back to 1.16 and still see the same error. Aug 11, 2015 6:48:38 PM hudson.triggers.SCMTrigger$Runner runPolling SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@65bc3ae7[Test-Job-name] java.lang.NoSuchMethodError: hudson.model.AbstractProject.getLastBuild()Lhudson/model/AbstractBuild; at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1348) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1376) 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:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Jenkins JIRA | 2 years ago | Srinivas Jajou
    java.lang.NoSuchMethodError: hudson.model.AbstractProject.getLastBuild()Lhudson/model/AbstractBuild;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, System Info Jenkins ver. 1.472 Subversion plugin - 2.4.5 Subversion tagging plugin - 1.17 svnkit - 1.6 Jdk - 1.7 I tried to upgrade svn tagging plugin to 1.17 from 1.16 and started getting following error. I even tried to revert back to 1.16 and still see the same error. Aug 11, 2015 6:48:38 PM hudson.triggers.SCMTrigger$Runner runPolling SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@65bc3ae7[Test-Job-name] java.lang.NoSuchMethodError: hudson.model.AbstractProject.getLastBuild()Lhudson/model/AbstractBuild; at hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1348) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1376) 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:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Jenkins JIRA | 2 years ago | Srinivas Jajou
    java.lang.NoSuchMethodError: hudson.model.AbstractProject.getLastBuild()Lhudson/model/AbstractBuild;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      hudson.model.Job.hasCascadingProject()Z

      at hudson.scm.PerJobCredentialStore.getXmlFile()
    2. Hudson
      SequentialExecutionQueue$QueueEntry.run
      1. hudson.scm.PerJobCredentialStore.getXmlFile(PerJobCredentialStore.java:137)
      2. hudson.scm.PerJobCredentialStore.<init>(PerJobCredentialStore.java:58)
      3. hudson.scm.SubversionSCM$DescriptorImpl.createAuthenticationProvider(SubversionSCM.java:1818)
      4. hudson.scm.SubversionSCM$DescriptorImpl.getRepository(SubversionSCM.java:2067)
      5. hudson.scm.SubversionSCM$DescriptorImpl.checkRepositoryPath(SubversionSCM.java:2037)
      6. hudson.scm.SubversionSCM.repositoryLocationsNoLongerExist(SubversionSCM.java:2270)
      7. hudson.scm.SubversionSCM.compareRemoteRevisionWith(SubversionSCM.java:1102)
      8. hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356)
      9. hudson.scm.SCM.poll(SCM.java:373)
      10. hudson.model.AbstractProject._poll(AbstractProject.java:1493)
      11. hudson.model.AbstractProject.poll(AbstractProject.java:1410)
      12. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439)
      13. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468)
      14. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
      14 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames