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

NuSuchMethodError in dry plug-in with Static Analysis Utilities 1.21 and 1.22

XMLWordPrintable

      I use Hudson to analyze PHP code. Since version 1.21 (with 1.22 i have the same error) of analysis-core, I get this error:

      Here, the Phing command: phpcpd --min-lines 5 --min-tokens 5 --suffixes ${extensions} --exclude ${sourcepath}/core --exclude ${sourcepath}/sites/all/modules/contrib --log-pmd ${builddir}/logs/pmd-cpd.xml ${ws}/source

      [DRY] Collecting duplicate code analysis files...
      FATAL: hudson.plugins.analysis.core.FilesParser.<init>(Lhudson/plugins/analysis/util/PluginLogger;Ljava/lang/String;Lhudson/plugins/analysis/core/AnnotationParser;ZZ)V
      java.lang.NoSuchMethodError: hudson.plugins.analysis.core.FilesParser.<init>(Lhudson/plugins/analysis/util/PluginLogger;Ljava/lang/String;Lhudson/plugins/analysis/core/AnnotationParser;ZZ)V
      at hudson.plugins.dry.DryPublisher.perform(DryPublisher.java:162)
      at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:310)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:631)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:610)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:588)
      at hudson.model.Build$RunnerImpl.post2(Build.java:156)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:557)
      at hudson.model.Run.run(Run.java:1387)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)

            drulli Ulli Hafner
            webnicko Alberto Delete
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: