java.io.IOException: Cannot run program "cmd.exe" (in directory "C:\jenkins\workspace\12_Common_Restore\build\Common_Restore"): CreateProcess error=206, The filename or extension is too long
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 Andrew Kujtan, 1 year ago
via Jenkins JIRA by Andrew Kujtan, 1 year ago
via Stack Overflow by Alex Sorokoletov
, 1 year agovia Stack Overflow by kaif11
, 1 year agovia Stack Overflow by Nash
, 2 years agovia Stack Overflow by red888
, 3 weeks agojava.io.IOException: Cannot run program "cmd.exe" (in directory "C:\jenkins\workspace\12_Common_Restore\build\Common_Restore"): CreateProcess error=206, The filename or extension is too long
at java.lang.ProcessBuilder.start(Unknown Source)
at hudson.Proc$LocalProc.
(Proc.java:244) at hudson.Proc$LocalProc.
(Proc.java:216) at hudson.Launcher$LocalLauncher.launch(Launcher.java:803)
at hudson.Launcher$ProcStarter.start(Launcher.java:381)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1136)
at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:1101)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Unknown Source)