java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Forrest Girouard,
  • 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)
    via by Forrest Girouard,
    • 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)
    No Bugmate found.