java.io.IOException: Cannot run program "cmd" (in directory "/some/path/on/slave"): CreateProcess error=267, The directory name is invalid

jenkins-ci.org | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [JENKINS-11370] "The directory name is invalid" on Windows slaves - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.io.IOException: Cannot run program "cmd" (in directory "/some/path/on/slave"): CreateProcess error=267, The directory name is invalid
  2. 0

    jdk install via jenkins doesn't work???

    Google Groups | 5 years ago | phil swenson
    java.io.IOException: Cannot run program "D:/jenkins/work/tools/jdk6/jdk.exe" (in directory "D:\jenkins\work\tools\jdk6"): CreateProcess error=87, The parameter is incorrect
  3. 0

    windowsスレーブ環境でのJDKの自動インストール

    Google Groups | 5 years ago | h.suehiro
    java.io.IOException: Cannot run program "/jenkins_slave/tools/jdk-1.6/jdk.exe" (in directory "C:\jenkins_slave\tools\jdk-1.6"): CreateProcess error=740, ?v??????????
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hg clone fails, hg pull succeeds

    Google Groups | 5 years ago | Ron
    java.io.IOException: Cannot run program "hg" (in directory "c:\jenkins\workspace\Sonar"): CreateProcess error=267, The directory name is invalid
  6. 0

    Build failed in Hudson: webdriver-firefox-3-win #247

    Google Groups | 7 years ago | hudson
    java.io.IOException: Cannot run program "rake.bat" (in directory "<http://xserve.openqa.org:8080/job/webdriver-firefox-3-win/ws/trunk")>: CreateProcess error=2, The system cannot find the file specified
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    CreateProcess error=267, The directory name is invalid

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    4 frames
  3. Hudson
    Launcher$RemoteLaunchCallable.call
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:707)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:338)
    5. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:932)
    6. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:899)
    6 frames
  4. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:287)
    3 frames
  5. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    3. java.util.concurrent.FutureTask.run(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    5 frames
  6. Hudson :: Remoting Layer
    Engine$1$1.run
    1. hudson.remoting.Engine$1$1.run(Engine.java:60)
    1 frame
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame