java.lang.NoSuchMethodError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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/
    via by Martin van der Vlist,
  • 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/
    via by Martin van der Vlist,
    • 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)
    No Bugmate found.