• 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/

          [JENKINS-18047] NoSuchMethodError at the end of a run

          Martin van der Vlist created issue -
          Martin van der Vlist made changes -
          Description Original: When I perform a build of my system that's configured with clone workspace, I get this stacktrace after a successful build:
          {{monospaced}}
          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)
          {{monospaced}}

          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:
          bq. 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/
          New: 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/
          Martin van der Vlist made changes -
          Environment Original: Ubuntu 12.10 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,
          New: 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,

          I've corrected the Ubuntu version.

          Martin van der Vlist added a comment - I've corrected the Ubuntu version.

          In the github repository this seems to be corrected:
          https://github.com/hudson3-plugins/clone-workspace-scm-plugin/blob/master/src/main/java/hudson/plugins/cloneworkspace/CloneWorkspacePublisher.java
          {{// Hudson doesn't have that constructor yet
          DirScanner globScanner = new DirScanner.Glob(realIncludeGlob, realExcludeGlob);}}

          But in the 0.5 release the error seems to be in:
          https://github.com/jenkinsci/jenkins-clone-workspace-scm-plugin/compare/clone-workspace-scm-0.4...clone-workspace-scm-0.5

          Martin van der Vlist added a comment - In the github repository this seems to be corrected: https://github.com/hudson3-plugins/clone-workspace-scm-plugin/blob/master/src/main/java/hudson/plugins/cloneworkspace/CloneWorkspacePublisher.java {{// Hudson doesn't have that constructor yet DirScanner globScanner = new DirScanner.Glob(realIncludeGlob, realExcludeGlob);}} But in the 0.5 release the error seems to be in: https://github.com/jenkinsci/jenkins-clone-workspace-scm-plugin/compare/clone-workspace-scm-0.4...clone-workspace-scm-0.5
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 149344 ] New: JNJira + In-Review [ 177330 ]

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

              Created:
              Updated: