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

You might be using the wrong way to add commands to the command line. Try using commandDownloader.add("command");

tip

If you're trying to make a splash screen, check this tutorial: https://goo.gl/zQyCYe

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

  • If the users removed the view path, then the polling will throw an exception as it can not execute the lshistory in the view path. Started on 2007-okt-17 02:01:03 [hudson_sit_eads_ns_1_daily_view] $ cleartool lshistory -r -since 16-okt.02:04:55 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n' -branch eads_ns_1 -nco Cannot run program "cleartool" (in directory "C:\Hudson\.\data\jobs\Eads Ns1 Daily build\workspace\hudson_sit_eads_ns_1_daily_view"): CreateProcess error=267, The directory name is invalid java.io.IOException: Cannot run program "cleartool" (in directory "C:\Hudson\.\data\jobs\Eads Ns1 Daily build\workspace\hudson_sit_eads_ns_1_daily_view"): CreateProcess error=267, The directory name is invalid at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at hudson.Proc$LocalProc.(Proc.java:80) at hudson.Launcher$LocalLauncher.launch(Launcher.java:170) at hudson.Launcher.launch(Launcher.java:83) at hudson.Launcher.launch(Launcher.java:71) at hudson.plugins.clearcase.ClearCaseSCM.run(ClearCaseSCM.java:262) at hudson.plugins.clearcase.ClearCaseSCM.getHistoryEntries(ClearCaseSCM.java:247) at hudson.plugins.clearcase.ClearCaseSCM.pollChanges(ClearCaseSCM.java:139) at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:538) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:258) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:290) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 18 more
    via by redsolo,
  • If the users removed the view path, then the polling will throw an exception as it can not execute the lshistory in the view path. Started on 2007-okt-17 02:01:03 [hudson_sit_eads_ns_1_daily_view] $ cleartool lshistory -r -since 16-okt.02:04:55 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\"\n%c\n' -branch eads_ns_1 -nco Cannot run program "cleartool" (in directory "C:\Hudson\.\data\jobs\Eads Ns1 Daily build\workspace\hudson_sit_eads_ns_1_daily_view"): CreateProcess error=267, The directory name is invalid java.io.IOException: Cannot run program "cleartool" (in directory "C:\Hudson\.\data\jobs\Eads Ns1 Daily build\workspace\hudson_sit_eads_ns_1_daily_view"): CreateProcess error=267, The directory name is invalid at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at hudson.Proc$LocalProc.(Proc.java:80) at hudson.Launcher$LocalLauncher.launch(Launcher.java:170) at hudson.Launcher.launch(Launcher.java:83) at hudson.Launcher.launch(Launcher.java:71) at hudson.plugins.clearcase.ClearCaseSCM.run(ClearCaseSCM.java:262) at hudson.plugins.clearcase.ClearCaseSCM.getHistoryEntries(ClearCaseSCM.java:247) at hudson.plugins.clearcase.ClearCaseSCM.pollChanges(ClearCaseSCM.java:139) at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:538) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:258) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:290) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 18 more
    via by redsolo,
  • JasperReports Library / Mailing Lists
    via by Unknown author,
  • Trying to use Octave in Java with JoPas
    via Stack Overflow by Karan Patz
    ,
  • Build Failed
    via GitHub by Lm0490
    ,
    • java.io.IOException: Cannot run program "cleartool" (in directory "C:\Hudson\.\data\jobs\Eads Ns1 Daily build\workspace\hudson_sit_eads_ns_1_daily_view"): CreateProcess error=267, The directory name is invalid at java.lang.ProcessBuilder.start(Unknown Source) at java.lang.Runtime.exec(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:80) at hudson.Launcher$LocalLauncher.launch(Launcher.java:170) at hudson.Launcher.launch(Launcher.java:83) at hudson.Launcher.launch(Launcher.java:71) at hudson.plugins.clearcase.ClearCaseSCM.run(ClearCaseSCM.java:262) at hudson.plugins.clearcase.ClearCaseSCM.getHistoryEntries(ClearCaseSCM.java:247) at hudson.plugins.clearcase.ClearCaseSCM.pollChanges(ClearCaseSCM.java:139) at hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:538) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:258) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:290) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 18 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    PKeidelPKeidel
    3 times, last one,
    serious2monkeysserious2monkeys
    1 times, last one,
    141 more bugmates