Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: clover-plugin
    • Labels:
      None
    • Environment:
      Windows XP
    • Similar Issues:

      Description

      I'm trying to set up my hudson project to integrate clover using Ant without having to change my build.xml. The build is fine until I add clover and I get the following:

      Adding Clover Publisher with reportDir: clover
      FATAL: hudson.util.DescribableList.add(Lhudson/model/Describable;)V
      java.lang.NoSuchMethodError: hudson.util.DescribableList.add(Lhudson/model/Describable;)V
      at hudson.plugins.clover.CloverBuildWrapper.addCloverPublisher(CloverBuildWrapper.java:66)
      at hudson.plugins.clover.CloverBuildWrapper.setUp(CloverBuildWrapper.java:57)
      at hudson.model.Build$RunnerImpl.doRun(Build.java:127)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417)
      at hudson.model.Run.run(Run.java:1179)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:122)

      This is stopping me from finishing the set up. I've browsed the net and forums, but no one seems to have run into this issue. I'm currently on using plugin 2.5, with ant 1.7.1 and hudson 1.339.

      Any help will be appreciated.

      Many thanks

        Attachments

          Activity

          Hide
          drewrm drewrm added a comment -

          The add method was removed in r23326.

          Show
          drewrm drewrm added a comment - The add method was removed in r23326 .
          Hide
          realskills realskills added a comment -

          Thanks for the response drewrm. However I still don't know how to fix this though. It seems as if the latest clover plugin is still indirectly trying to call this method. I think it's being called from CloverBuildWrapper, which is unpacked from the clover.hpi file I downloaded through hudson. Any ideas?

          Cheers

          Show
          realskills realskills added a comment - Thanks for the response drewrm. However I still don't know how to fix this though. It seems as if the latest clover plugin is still indirectly trying to call this method. I think it's being called from CloverBuildWrapper, which is unpacked from the clover.hpi file I downloaded through hudson. Any ideas? Cheers
          Hide
          npellow npellow added a comment -

          Thanks for reporting this.

          The problem was that version 2.5 of the Clover plugin was compiled against an older version of Hudson.

          When the DescribableList class was refactored to extend PersistedList, the add method referenced in the clover plugin still pointed to DescribableList, instead of its new parent class.

          I've compiled and released a new version of the Clover Hudson plugin, that will work with newer versions of Hudson, 1.339+ however will break under older versions.

          Show
          npellow npellow added a comment - Thanks for reporting this. The problem was that version 2.5 of the Clover plugin was compiled against an older version of Hudson. When the DescribableList class was refactored to extend PersistedList, the add method referenced in the clover plugin still pointed to DescribableList, instead of its new parent class. I've compiled and released a new version of the Clover Hudson plugin, that will work with newer versions of Hudson, 1.339+ however will break under older versions.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : npellow
          Path:
          trunk/hudson/plugins/clover/pom.xml
          http://jenkins-ci.org/commit/28105
          Log:
          JENKINS-5168: recompiled plugin against hudson 1.348

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : npellow Path: trunk/hudson/plugins/clover/pom.xml http://jenkins-ci.org/commit/28105 Log: JENKINS-5168 : recompiled plugin against hudson 1.348
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : npellow
          Path:
          trunk/hudson/plugins/clover/pom.xml
          http://jenkins-ci.org/commit/28106
          Log:
          JENKINS-5168: recompiled plugin against hudson 1.348

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : npellow Path: trunk/hudson/plugins/clover/pom.xml http://jenkins-ci.org/commit/28106 Log: JENKINS-5168 : recompiled plugin against hudson 1.348

            People

            • Assignee:
              npellow npellow
              Reporter:
              realskills realskills
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: