java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid

Jenkins JIRA | Sagar Khushalani | 7 years 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

    ERROR: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid at java.lang.ProcessBuilder.start(Unknown Source) 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(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) ... 16 more IOException occurred: java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid cleaning up /var/tmp/hudson8081005950298490320tmp Finished: SUCCESS 1) The build should not be successful. 2) There will not be a \var\tmp\ directory in Windows. This needs to be OS dependent.

    Jenkins JIRA | 7 years ago | Sagar Khushalani
    java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid
  2. 0

    ERROR: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid at java.lang.ProcessBuilder.start(Unknown Source) 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(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) ... 16 more IOException occurred: java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid cleaning up /var/tmp/hudson8081005950298490320tmp Finished: SUCCESS 1) The build should not be successful. 2) There will not be a \var\tmp\ directory in Windows. This needs to be OS dependent.

    Jenkins JIRA | 7 years ago | Sagar Khushalani
    java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid
  3. 0

    How can I use an alternate path for a Jenkins slave SCM step (CVS)

    Google Groups | 6 years ago | Matthew Johnson
    java.io.IOException: cvs: not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOException: Cannot run program "ant" - java pressing answers

    itanswerz.com | 2 years ago
    java.io.IOException: Cannot run program "ant" (in directory "/hudson/buildTool/src/bt"): error=2, No existe el fichero o el directorio
  6. 0

    Re: [dash-dev] Weird failure..

    eclipse.org | 2 years ago
    java.io.IOException: error=2, No such file or directory

  1. zbalint 16 times, last 3 days ago
  2. rp 1 times, last 5 months ago
  3. michallos 1 times, last 5 months ago
  4. eti22 1 times, last 7 months ago
  5. asdasd 24 times, last 8 months ago
3 more registered users
92 unregistered visitors
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:192)
    2. hudson.Proc$LocalProc.<init>(Proc.java:164)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:273)
    5. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
    6. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
    6 frames
  4. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:270)
    3 frames
  5. Java RT
    Thread.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)
    6. java.lang.Thread.run(Unknown Source)
    6 frames