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

Jenkins JIRA | redsolo | 9 years ago
  1. 0

    [JENKINS-923] If users removes the view, the polling will not invoke a new build - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    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
  2. 0

    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

    Jenkins JIRA | 9 years ago | redsolo
    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
  3. 0

    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

    Jenkins JIRA | 9 years ago | redsolo
    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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JadClipse - Eclipse plugin / Discussion / Help:Problem with Eclipse3.3 RC4

    sourceforge.net | 1 year ago
    java.io.IOException: Cannot run program "D:\devtools\jad.exe" (in directory "d:\work\1183032098625"): CreateProcess error=2, The system cannot find the file specified
  6. 0

    lein <task> throws IOException: Cannot run program "gpg" on Windows

    GitHub | 5 years ago | brycobat
    java.io.IOException: Cannot run program "gpg": CreateProcess error=2, The system cannot find the file specified

  1. serious2monkeys 1 times, last 1 week ago
  2. Handemelindo 6 times, last 1 month ago
  3. kid 5 times, last 1 month ago
  4. rp 2 times, last 2 months ago
  5. jk 1 times, last 5 months ago
3 more registered users
75 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
    Runtime.exec
    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)
    5. java.lang.Runtime.exec(Unknown Source)
    5 frames
  3. Hudson
    Launcher.launch
    1. hudson.Proc$LocalProc.<init>(Proc.java:80)
    2. hudson.Launcher$LocalLauncher.launch(Launcher.java:170)
    3. hudson.Launcher.launch(Launcher.java:83)
    4. hudson.Launcher.launch(Launcher.java:71)
    4 frames
  4. hudson.plugins.clearcase
    ClearCaseSCM.pollChanges
    1. hudson.plugins.clearcase.ClearCaseSCM.run(ClearCaseSCM.java:262)
    2. hudson.plugins.clearcase.ClearCaseSCM.getHistoryEntries(ClearCaseSCM.java:247)
    3. hudson.plugins.clearcase.ClearCaseSCM.pollChanges(ClearCaseSCM.java:139)
    3 frames
  5. Hudson
    SCMTrigger$Runner.run
    1. hudson.model.AbstractProject.pollSCMChanges(AbstractProject.java:538)
    2. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:258)
    3. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:290)
    3 frames
  6. 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