java.io.IOException: Cannot run program "hg" (in directory "/var/lib/hudson/jobs/jobname/workspace"): java.io.IOException: error=2, No such file or directory

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.

Solutions on the web

via Server Fault by Jack
, 1 year ago
Cannot run program "hg" (in directory "/var/lib/hudson/jobs/jobname/workspace"): java.io.IOException: error=2, No such file or directory
via Stack Overflow by David
, 1 year ago
Cannot run program "hg" (in directory "F:\Hudson\jobs\testproject\workspace"): CreateProcess error=267, The directory name is invalid
via techforumnetwork.com by Unknown author, 2 years ago
Cannot run program "hg" (in directory "F:\Hudson\jobs\testproject\workspace"): CreateProcess error=267, The directory name is invalid
via Jenkins JIRA by javydreamercsw, 1 year ago
Cannot run program "hg" (in directory "C:\.hudson\jobs\Outlook ES MP\workspace"): CreateProcess error=267, The directory name is invalid
via Jenkins JIRA by javydreamercsw, 1 year ago
Cannot run program "hg" (in directory "C:\.hudson\jobs\Outlook ES MP\workspace"): CreateProcess error=267, The directory name is invalid
via jenkins-ci.org by Unknown author, 2 years ago
Cannot run program "hg" (in directory "C:\.hudson\jobs\Outlook ES MP\workspace"): CreateProcess error=267, The directory name is invalid
java.io.IOException: Cannot run program "hg" (in directory "/var/lib/hudson/jobs/jobname/workspace"): java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 10 hours ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago

Write tip

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