Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Jenkins JIRA by Angela Johansson, 2 years ago
Cannot run program "chmod": java.io.IOException: error=2, No such file or directory
via Jenkins JIRA by Angela Johansson, 1 year ago
Cannot run program "chmod": java.io.IOException: error=2, No such file or directory
via GitHub by rultor
, 8 months ago
Cannot run program "xcop": error=2, No such file or directory
java.io.IOException: Cannot run program "chmod": java.io.IOException: error=2, No such file or directory at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:491) at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:502) at org.apache.tools.ant.taskdefs.Chmod.execute(Chmod.java:181) at hudson.FilePath._chmodAnt(FilePath.java:1119) at hudson.FilePath._chmod(FilePath.java:1104) at hudson.FilePath.readFromTar(FilePath.java:1644) at hudson.FilePath.copyRecursiveTo(FilePath.java:1566) at hudson.tasks.ArtifactArchiver.perform(ArtifactArchiver.java:116) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) at hudson.model.Build$RunnerImpl.post2(Build.java:161) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1400) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:175)Caused by: java.io.IOException: Cannot run program "chmod": java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.java:827) at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:445) at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:459) at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:635) at org.apache.tools.ant.taskdefs.ExecuteOn.runParallel(ExecuteOn.java:711) at org.apache.tools.ant.taskdefs.ExecuteOn.runExec(ExecuteOn.java:479) ... 17 moreCaused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 25 more