java.io.IOException: CreateProcess: sh -xe C:\hudson48765.sh error=2

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

,

Provide a working directory instead of pointing it to a file or an empty directory in process builder.

Solutions on the web

via Jenkins JIRA by redsolo, 1 year ago
CreateProcess: mkview -snapshot -tag hudson_server_view hudson_server_view error=2
via Jenkins JIRA by redsolo, 1 year ago
CreateProcess: mkview -snapshot -tag hudson_server_view hudson_server_view error=2
via netbeans.org by Unknown author, 2 years ago
via Coderanch by Abhishek Mish, 1 year ago
CreateProcess: \bin\sh D:\loading\test.sh error=3
java.io.IOException: CreateProcess: sh -xe C:\hudson48765.sh error=2
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
at hudson.Proc$LocalProc.(Proc.java:80)
at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:290)
at hudson.Launcher$LocalLauncher.launch(Launcher.java:281)
at hudson.Launcher.launch(Launcher.java:119)
at hudson.Launcher.launch(Launcher.java:71)
at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:61)
at hudson.plugins.batch_task.BatchRun.run(BatchRun.java:209)
at hudson.model.ResourceController.execute(ResourceController.java:70)
at hudson.model.Executor.run(Executor.java:62)

Users with the same issue

Once, 1 month ago
Once, 3 months ago
3 times, 6 months ago
Once, 1 year ago
5 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.