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

Rebase with upstream Subversion revision - java.lang.NoSuchMethodError: hudson.scm.SubversionEventHandlerImpl

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • Jenkins 2.94
      Subversion Plug-in 2.10.1
      svnmerge plugin 2.6

      Since yesterday i get an error while build step Rebase with upstream Subversion revision. Yesterday i updated the svn plugin to version 2.10, today 2.10.1. Before the update to 2.10 everything works fine.

      FATAL: hudson.scm.SubversionEventHandlerImpl.<init>(Ljava/io/PrintStream;Ljava/io/File;)V
      java.lang.NoSuchMethodError: hudson.scm.SubversionEventHandlerImpl.<init>(Ljava/io/PrintStream;Ljava/io/File;)V
      	at jenkins.plugins.svnmerge.FeatureBranchProperty$1$1.<init>(FeatureBranchProperty.java:177)
      	at jenkins.plugins.svnmerge.FeatureBranchProperty$1.invoke(FeatureBranchProperty.java:177)
      	at jenkins.plugins.svnmerge.FeatureBranchProperty$1.invoke(FeatureBranchProperty.java:172)
      	at hudson.FilePath.act(FilePath.java:998)
      	at hudson.FilePath.act(FilePath.java:976)
      	at jenkins.plugins.svnmerge.FeatureBranchProperty.rebase(FeatureBranchProperty.java:172)
      	at jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:115)
      	at jenkins.plugins.svnmerge.RebaseBuilder.perform(RebaseBuilder.java:53)
      	at hudson.plugins.templateproject.ProxyBuilder.perform(ProxyBuilder.java:116)
      	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      	at hudson.model.Build$BuildExecution.build(Build.java:206)
      	at hudson.model.Build$BuildExecution.doRun(Build.java:163)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      	at hudson.model.Run.execute(Run.java:1727)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:97)
      	at hudson.model.Executor.run(Executor.java:429)
      

          [JENKINS-48546] Rebase with upstream Subversion revision - java.lang.NoSuchMethodError: hudson.scm.SubversionEventHandlerImpl

          Sir Hellsing added a comment -

          I have the exact same problem. Any advice or workaround until this is fixed?

          Sir Hellsing added a comment - I have the exact same problem. Any advice or workaround until this is fixed?

          I downgraded now to subversion plugin 2.9 and it works again (unfortunatelly now all svn credentionals for my jobs are gone and i have to add them again)

          Joerg Schlenker added a comment - I downgraded now to subversion plugin 2.9 and it works again (unfortunatelly now all svn credentionals for my jobs are gone and i have to add them again)

          Sir Hellsing added a comment -

          Thanks for this info. I also downgraded to 2.9 and it is working again.

          (I didn't need to re-enter the SVN credentials in my case)

          Sir Hellsing added a comment - Thanks for this info. I also downgraded to 2.9 and it is working again. (I didn't need to re-enter the SVN credentials in my case)

          Oleg Nenashev added a comment -

          Seems we will need 2.10.2, missed the compat issue somehow

          Oleg Nenashev added a comment - Seems we will need 2.10.2, missed the compat issue somehow

          Oleg Nenashev added a comment -

          Diff: https://github.com/jenkinsci/subversion-plugin/compare/subversion-2.9...subversion-2.10.1

          Compat issues:

          • SubversionEventHandlerImpl constructor
          • SubversionUpdateEventHandler constructor

          Oleg Nenashev added a comment - Diff: https://github.com/jenkinsci/subversion-plugin/compare/subversion-2.9...subversion-2.10.1 Compat issues: SubversionEventHandlerImpl constructor SubversionUpdateEventHandler constructor

          Oleg Nenashev added a comment -

          Oleg Nenashev added a comment - https://github.com/jenkinsci/subversion-plugin/pull/203

          Oleg Nenashev added a comment -

          Released the fix in 2.10.2

          Oleg Nenashev added a comment - Released the fix in 2.10.2

          Works, thank you very much for this fast fix!!!

          Joerg Schlenker added a comment - Works, thank you very much for this fast fix!!!

            oleg_nenashev Oleg Nenashev
            jsc Joerg Schlenker
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: