java.io.IOException

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.

  • 1.I configured the polling SCM on my Build job. 2.Here is the output or stack trace from my polling log Started on Nov 14, 2013 10:59:07 AM $ "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe" history $/XXX -noprompt -version:C180~D2013-11-14T17:59:08Z -recursive -format:brief -server:https://XXXX.visualstudio.com/defaultcollection ******** FATAL: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478) at java.lang.ProcessBuilder.start(ProcessBuilder.java:457) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.plugins.tfs.TfTool.execute(TfTool.java:99) at hudson.plugins.tfs.model.Server.execute(Server.java:111) at hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1567) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 21 more Done. Took 26 ms No changes
    via by anuragh Reddy,
  • 1.I configured the polling SCM on my Build job. 2.Here is the output or stack trace from my polling log Started on Nov 14, 2013 10:59:07 AM $ "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe" history $/XXX -noprompt -version:C180~D2013-11-14T17:59:08Z -recursive -format:brief -server:https://XXXX.visualstudio.com/defaultcollection ******** FATAL: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478) at java.lang.ProcessBuilder.start(ProcessBuilder.java:457) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.plugins.tfs.TfTool.execute(TfTool.java:99) at hudson.plugins.tfs.model.Server.execute(Server.java:111) at hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1567) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 21 more Done. Took 26 ms No changes
    via by anuragh Reddy,
  • P4 command line client in Jenkin issues on OSX
    via Stack Overflow by ash1977
    ,
  • Cannot run aapt
    via GitHub by jeromeernestgarcia
    ,
  • GWT Compilation Failed
    via by Muthu,
  • GWT Compilation Failed
    via by Muthu,
  • GitHub comment 108#225318743
    via GitHub by jforaker
    ,
    • java.io.IOException: Cannot run program "C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe": error=2, No such file or directory at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478) at java.lang.ProcessBuilder.start(ProcessBuilder.java:457) at hudson.Proc$LocalProc.<init>(Proc.java:244) at hudson.Proc$LocalProc.<init>(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:773) at hudson.Launcher$ProcStarter.start(Launcher.java:353) at hudson.plugins.tfs.TfTool.execute(TfTool.java:99) at hudson.plugins.tfs.model.Server.execute(Server.java:111) at hudson.plugins.tfs.model.Project.getBriefHistory(Project.java:139) at hudson.plugins.tfs.TeamFoundationServerScm.compareRemoteRevisionWith(TeamFoundationServerScm.java:453) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:356) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject._poll(AbstractProject.java:1567) at hudson.model.AbstractProject.poll(AbstractProject.java:1490) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:439) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:468) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) 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:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:680) Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:91) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 21 more

    Users with the same issue

    Unknown visitor1 times, last one,
    guizmaii
    5 times, last one,
    zbalint
    16 times, last one,
    rp
    1 times, last one,
    Unknown visitor1 times, last one,
    150 more bugmates