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 | 4 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

    bulk size text parameters in jenkins report error

    Server Fault | 4 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 | 2 years 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

    Cannot run program "mvn" error=2, No such file or directory

    Stack Overflow | 2 years ago | Mario Dennis
    java.io.IOException: Cannot run program "mvn" (in directory "/var/lib/jenkins/workspace/videovixx"): error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

  1. rp 1 times, last 2 months ago
  2. michallos 1 times, last 3 months ago
  3. eti22 1 times, last 4 months ago
  4. asdasd 24 times, last 5 months ago
  5. rexgreenza 8 times, last 5 months ago
2 more registered users
93 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