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

  1. ,
    Expert tip

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

  2. ,

    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
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
via Jenkins JIRA by Andrew Kujtan, 1 year ago
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
via Stack Overflow by Alex Sorokoletov
, 1 year ago
Cannot run program "tf" (in directory "c:\Jenkins\workspace\ProjectName-WindowsPhone"): CreateProcess error=87, The parameter is incorrect
via Stack Overflow by kaif11
, 1 year ago
Cannot run program "C:\Java\jdk1.8.0_102/bin/java" (in directory "C:\Program Files (x86)\Jenkins\workspace\DBManufacturing_Release"): CreateProcess error=87, The parameter is incorrect
via Stack Overflow by Nash
, 1 year ago
Cannot run program "powershell.exe" (in directory "C:\jenkins\workspace\own-machine-powershell-job"): CreateProcess error=2, The system cannot find the file specified
via Stack Overflow by Prashant S
, 2 years ago
Cannot run program "cmd" (in directory "C:\..\Project_Name"): CreateProcess error=87, The parameter is incorrect
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	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)