Branch indexing not working after dependencies updates

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      After installing an updated version of SCM Api plugin (version 2.0.3) branch indexing has stopped working with the following error:

      java.lang.NoSuchMethodError: jenkins.branch.MultiBranchProject.getRootDirFor(Lhudson/model/Job;)Ljava/io/File;
      at com.github.mjdetullio.jenkins.plugins.multibranch.TemplateDrivenMultiBranchProject.getRootDirFor(TemplateDrivenMultiBranchProject.java:306)
      at com.github.mjdetullio.jenkins.plugins.multibranch.TemplateDrivenMultiBranchProject.getRootDirFor(TemplateDrivenMultiBranchProject.java:89)
      at hudson.model.AbstractItem.getRootDir(AbstractItem.java:177)
      at hudson.model.Items.getConfigFile(Items.java:387)
      at hudson.model.AbstractItem.getConfigFile(AbstractItem.java:508)
      at hudson.model.AbstractItem.save(AbstractItem.java:503)
      at hudson.model.Job.save(Job.java:186)
      at hudson.model.AbstractProject.save(AbstractProject.java:306)
      at hudson.BulkChange.commit(BulkChange.java:98)
      at com.github.mjdetullio.jenkins.plugins.multibranch.TemplateDrivenBranchProjectFactory.setBranch(TemplateDrivenBranchProjectFactory.java:104)
      at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleBranchProjectFactory.newInstance(FreeStyleBranchProjectFactory.java:55)
      at com.github.mjdetullio.jenkins.plugins.multibranch.FreeStyleBranchProjectFactory.newInstance(FreeStyleBranchProjectFactory.java:38)
      at jenkins.branch.MultiBranchProject$SCMHeadObserverImpl.observe(MultiBranchProject.java:1972)
      at jenkins.scm.impl.subversion.SubversionSCMSource.fetch(SubversionSCMSource.java:404)
      at jenkins.scm.impl.subversion.SubversionSCMSource.fetch(SubversionSCMSource.java:412)
      at jenkins.scm.impl.subversion.SubversionSCMSource.retrieve(SubversionSCMSource.java:240)
      at jenkins.scm.api.SCMSource._retrieve(SCMSource.java:316)
      at jenkins.scm.api.SCMSource.fetch(SCMSource.java:210)
      at jenkins.branch.MultiBranchProject.computeChildren(MultiBranchProject.java:634)
      at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
      at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
      at jenkins.branch.MultiBranchProject$BranchIndexing.run(MultiBranchProject.java:965)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:405)

      An existing multibranch project is not loaded

            Assignee:
            Unassigned
            Reporter:
            Flavio Campana
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: