java.io.IOException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • Build failed in Hudson: PDFBox-trunk #442
    via by Apache Hudson Server,
  • Build failed in Hudson: PDFBox-trunk #443
    via by Apache Hudson Server,
  • Jenkins users - Workspace error
    via by Unknown author,
  • Hi, When I upgraded my ClearCase plugin to 1.3.2, the jobs on slaves no longer worked. I downgraded back to version 1.3.1 and everything worked fine again. Below is the message that I saw when trying to build a job on a slave: Started by user lreeber Building remotely on Slave02 [test_slave2] $ cleartool desc -fmt %[found_bls]Xp\n stream:Integration_mainline@/vob/tvm_freeman_bsp_pvob java.io.IOException: Cannot run program "cleartool" (in directory "/design/bsp/sla02/workspace/test_slave2"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Finished: FAILURE
    via by lreeber,
  • The project is a free-form project and it is building not on the master, but on a build node. {code} [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/ FATAL: command execution failed java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Finished: FAILURE {code}
    via by Michael Rumpf,
  • The ClearCase plugin for the SCM polling is not starting the ClearCase view (dynamic) on the slave node. This should happen by default prior to doing the SCM polling. I believe Hudson tries to do the SCM polling on the server of the last build (or successful build), in this case it was a slave node vs the master node. A quick fix was to start the ClearCase dynamic view manually on the slave node to get the SCM polling moving again. Below is the stack: {noformat} Started on Dec 22, 2009 12:41:48 PM Cannot run program "/opt/rational/clearcase/bin/cleartool" (in directory "/view/test_hudson"): java.io.IOException: error=2, No such file or directory java.io.IOException: Cannot run program "/opt/rational/clearcase/bin/cleartool" (in directory "/view/test_hudson"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.(Proc.java:148) at hudson.Proc$LocalProc.(Proc.java:120) at hudson.Launcher$LocalLauncher.launch(Launcher.java:633) at hudson.Launcher$ProcStarter.start(Launcher.java:268) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:775) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:753) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Done. Took 0.14 sec No changes {noformat}
    via by mezlight,
  • Fatal error when you use a slave and try to launch command which need to be in the path after build (after "channel stopped"). When you see "channel stopped" (after a build), all the variables like path are anymore not setted. So all commands (like mvn or others) will not work. In my case, reports or maven extras step does not work in slave. This is an example of the problem. In build, I do mvn clean install (and it works). After I use a maven extra step after and maven or any command in path does not work. I hope I'm clear. It is very blocking issue. Log file. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 minutes 8 seconds [INFO] Finished at: Mon Jun 07 20:53:10 CEST 2010 [INFO] Final Memory: 99M/208M [INFO] ------------------------------------------------------------------------ channel stopped [trunk] $ mvn -fn -P javadoc,test,testcampain,taglist,changes,overview,sonar,umlGraph,versions -Djava.awt.headless=true sonar:sonar site:site site-deploy FATAL: command execution failed java.io.IOException: Cannot run program "mvn" (in directory "/home/frtdevxpp/hudson/jobs/workspace/ARC-CTT-Nightly-Integration/trunk"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) at hudson.Launcher$LocalLauncher.launch(Launcher.java:636) at hudson.Launcher$ProcStarter.start(Launcher.java:271) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:783) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:757) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more
    via by alexandre_navarro,
  • The project is a free-form project and it is building not on the master, but on a build node. {code} [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/ FATAL: command execution failed java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Finished: FAILURE {code}
    via by Michael Rumpf,
  • Fatal error when you use a slave and try to launch command which need to be in the path after build (after "channel stopped"). When you see "channel stopped" (after a build), all the variables like path are anymore not setted. So all commands (like mvn or others) will not work. In my case, reports or maven extras step does not work in slave. This is an example of the problem. In build, I do mvn clean install (and it works). After I use a maven extra step after and maven or any command in path does not work. I hope I'm clear. It is very blocking issue. Log file. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 minutes 8 seconds [INFO] Finished at: Mon Jun 07 20:53:10 CEST 2010 [INFO] Final Memory: 99M/208M [INFO] ------------------------------------------------------------------------ channel stopped [trunk] $ mvn -fn -P javadoc,test,testcampain,taglist,changes,overview,sonar,umlGraph,versions -Djava.awt.headless=true sonar:sonar site:site site-deploy FATAL: command execution failed java.io.IOException: Cannot run program "mvn" (in directory "/home/frtdevxpp/hudson/jobs/workspace/ARC-CTT-Nightly-Integration/trunk"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) at hudson.Launcher$LocalLauncher.launch(Launcher.java:636) at hudson.Launcher$ProcStarter.start(Launcher.java:271) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:783) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:757) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more
    via by alexandre_navarro,
  • Hi, When I upgraded my ClearCase plugin to 1.3.2, the jobs on slaves no longer worked. I downgraded back to version 1.3.1 and everything worked fine again. Below is the message that I saw when trying to build a job on a slave: Started by user lreeber Building remotely on Slave02 [test_slave2] $ cleartool desc -fmt %[found_bls]Xp\n stream:Integration_mainline@/vob/tvm_freeman_bsp_pvob java.io.IOException: Cannot run program "cleartool" (in directory "/design/bsp/sla02/workspace/test_slave2"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Finished: FAILURE
    via by lreeber,
    • java.io.IOException: Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:148) at hudson.Proc$LocalProc.<init>(Proc.java:120) at hudson.Launcher$LocalLauncher.launch(Launcher.java:633) at hudson.Launcher$ProcStarter.start(Launcher.java:268) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:775) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:753) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    124 more bugmates