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
  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
  3. 0

    Unable to load project - XDebuggerManager error

    YouTrack | 3 years ago
    java.lang.NoSuchMethodError: com.intellij.xdebugger.breakpoints.XBreakpointType.<init>(Ljava/lang/String;Ljava/lang/String;Z)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to load project - XDebuggerManager error

    YouTrack | 3 years ago
    java.lang.NoSuchMethodError: com.intellij.xdebugger.breakpoints.XBreakpointType.<init>(Ljava/lang/String;Ljava/lang/String;Z)V
  6. 0

    java.lang.NoSuchMethodError: play.core.DynamicPart

    GitHub | 3 years ago | thilko
    java.lang.NoSuchMethodError: play.core.DynamicPart.<init>(Ljava/lang/String;Ljava/lang/String;Z)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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