java.lang.NoSuchMethodError: hudson.util.DirScanner$Glob.<init>(Ljava/lang/String;Ljava/lang/String;Z)V

Jenkins JIRA | Martin van der Vlist | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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 JIRA | 4 years ago | Martin van der Vlist
    java.lang.NoSuchMethodError: hudson.util.DirScanner$Glob.<init>(Ljava/lang/String;Ljava/lang/String;Z)V
  2. 0

    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 JIRA | 4 years ago | Martin van der Vlist
    java.lang.NoSuchMethodError: hudson.util.DirScanner$Glob.<init>(Ljava/lang/String;Ljava/lang/String;Z)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      hudson.util.DirScanner$Glob.<init>(Ljava/lang/String;Ljava/lang/String;Z)V

      at hudson.plugins.cloneworkspace.CloneWorkspacePublisher.perform()
    2. hudson.plugins.cloneworkspace
      CloneWorkspacePublisher.perform
      1. hudson.plugins.cloneworkspace.CloneWorkspacePublisher.perform(CloneWorkspacePublisher.java:177)
      1 frame
    3. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:692)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:667)
      4. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:645)
      5. hudson.model.Build$RunnerImpl.post2(Build.java:161)
      6. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:614)
      7. hudson.model.Run.run(Run.java:1400)
      8. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      9. hudson.model.ResourceController.execute(ResourceController.java:88)
      10. hudson.model.Executor.run(Executor.java:175)
      10 frames