java.io.IOException: Cannot run program "/bin/sh" (in directory "/var/lib/jenkins/workspace/TEST-save_txt_to_file"): java.io.IOException: error=7, Argument list too long

Server Fault | valpa | 3 years ago
  1. 0

    bulk size text parameters in jenkins report error

    Server Fault | 3 years ago | valpa
    java.io.IOException: Cannot run program "/bin/sh" (in directory "/var/lib/jenkins/workspace/TEST-save_txt_to_file"): java.io.IOException: error=7, Argument list too long
  2. 0

    How to Run job on Jenkins with Selenium Server

    Stack Overflow | 1 year ago | Khalid Ksouri
    java.io.IOException: Cannot run program "cmd" (in directory "/appli/projects/jenkins_atos/jenkins/workspace/STM_V1_V2_TESTS"): java.io.IOException: error=2, No such file or directory
  3. 0

    Java Doc generation failing

    GitHub | 2 years ago | edanian
    java.io.IOException: Cannot run program "mvn.bat" (in directory "C:\Program Files (x86)\Jenkins\workspace\gameoflife-default"): CreateProcess error=2, The system cannot find the file specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Ant with Hudson

    Stack Overflow | 6 years ago | Kumar
    java.io.IOException: Cannot run program "ant" (in directory "/root/.hudson/jobs/userCentral/workspace/branches/branches/build"): java.io.IOException: error=2, No such file or directory
  6. 0

    Hudson on Windows - Error: java.io.IOException: Cannot run program "sh"

    Stack Overflow | 4 years ago | Markus_DE_HH
    java.io.IOException: Cannot run program "sh" (in directory "C:\Users\Markus\.hudson\jobs\Test1 Unit TEst\workspace"): CreateProcess error=2, Das System kann die angegebene Datei nicht finden

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 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

    java.io.IOException: error=7, Argument list too long

    at java.lang.UNIXProcess.<init>()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.<init>(Unknown Source)
    2. java.lang.ProcessImpl.start(Unknown Source)
    3. java.lang.ProcessBuilder.start(Unknown Source)
    3 frames
  3. Hudson
    Executor.run
    1. hudson.Proc$LocalProc.<init>(Proc.java:244)
    2. hudson.Proc$LocalProc.<init>(Proc.java:216)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:763)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:353)
    5. hudson.Launcher$ProcStarter.join(Launcher.java:360)
    6. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91)
    7. hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60)
    8. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
    9. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
    10. hudson.model.Build$BuildExecution.build(Build.java:199)
    11. hudson.model.Build$BuildExecution.doRun(Build.java:160)
    12. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:593)
    13. hudson.model.Run.execute(Run.java:1568)
    14. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    15. hudson.model.ResourceController.execute(ResourceController.java:88)
    16. hudson.model.Executor.run(Executor.java:237)
    16 frames