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

NoSuchMethodError at the end of a run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Ubuntu 12.04 LTS, jenkins latest via apt-get (1.424.6)
      plugins: clone workspace scm 0.5, Perforce 1.3.24, git plugin 1.4.0, git client plugin 1.0.6, mail watcher plugin, ant plugin, status monitor plugin, static analysis utilities, warnings plugin,

      When I perform a build of my system that's configured with clone workspace, I get this stacktrace after a successful build:
      {{
      FATAL: hudson.util.DirScanner$Glob.<init>(Ljava/lang/String;Ljava/lang/String;Z)V
      java.lang.NoSuchMethodError: hudson.util.DirScanner$Glob.<init>(Ljava/lang/String;Ljava/lang/String;Z)V
      at hudson.plugins.cloneworkspace.CloneWorkspacePublisher.perform(CloneWorkspacePublisher.java:177)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645)
      at hudson.model.Build$RunnerImpl.post2(Build.java:161)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614)
      at hudson.model.Run.run(Run.java:1400)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:175)
      }}

      I configured my project to use P4 to get the code, and ticked the box 'archive for clone workspace SCM'. I used a pretty long line for included files at first:
      depot/Development/MentorDelivery/bin/*,depot/Development/MentorDelivery/4900/*,depot/Development/MentorDelivery/ACE/ACE_wrappers/ace/*,depot/Development/MentorDelivery/Common/source/*,depot/Development/MentorDelivery/Common/General/include/*,depot/Development/MentorDelivery/Common/OSX_Layer/include/*
      I also changed this line to depot/Development/MentorDelivery/bin/* (a folder with 7 directories, each containing 1 subdirectory) and depot/Development/MentorDelivery/bin/x86_64-linux-gnu/Release/* (containing only some freshly generated binaries), and no string at all, but to no avail.

      This user has a similar issue: http://www.eclipse.org/forums/index.php/t/452782/

            Unassigned Unassigned
            mbvlist Martin van der Vlist
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: