com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe": CreateProcess error=2, Не удается найти указанный файл

YouTrack | 2 months ago
  1. 0

    Trying to access remote host. Connection is good, but there is no files. Tried to access to server with the same credentials via Filezilla and everything works fine.

    YouTrack | 2 months ago
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "git.exe": CreateProcess error=2, Не удается найти указанный файл
  2. 0

    Almost lost my project

    YouTrack | 3 days ago
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "/usr/bin/git": error=2, Adresár alebo súbor neexistuje
  3. 0

    Does not work on Windows

    GitHub | 11 months ago | agross
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "rubocop" (in directory "D:\projects\nanoc-coit"): CreateProcess error=2, The system cannot find the file specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NPE on SDK setup

    GitHub | 2 years ago | dlsniper
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "C:\go_appengine\goroot\..\goapp" (in directory "C:\go_appengine\goroot\.."): CreateProcess error=2, The system cannot find the file specified
  6. 0

    [auto-generated] Crash in plugin

    GitHub | 2 years ago | go-lang-idea-plugin-autoreport
    com.intellij.execution.process.ProcessNotCreatedException: Cannot run program "/usr/local/go_appengine/goroot/bin/go" (in directory "/usr/local/go_appengine/goroot/bin"): error=2, No such file or directory

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 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

    CreateProcess error=2, Не удается найти указанный файл

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:137)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    4 frames
  3. Openapi
    GeneralCommandLine.createProcess
    1. com.intellij.execution.configurations.GeneralCommandLine.startProcess(GeneralCommandLine.java:368)
    2. com.intellij.execution.configurations.GeneralCommandLine.createProcess(GeneralCommandLine.java:354)
    2 frames
  4. IDEA
    ExecutableValidator.doCheckExecutable
    1. com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:37)
    2. com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:38)
    3. com.intellij.execution.ExecutableValidator.doCheckExecutable(ExecutableValidator.java:110)
    3 frames
  5. git4idea.config
    GitExecutableValidator.isExecutableValid
    1. git4idea.config.GitExecutableValidator.isExecutableValid(GitExecutableValidator.java:50)
    1 frame
  6. IDEA
    ExecutableValidator.isExecutableValid
    1. com.intellij.execution.ExecutableValidator.isExecutableValid(ExecutableValidator.java:238)
    1 frame
  7. git4idea
    GitVcs.activate
    1. git4idea.GitVcs.checkExecutableAndVersion(GitVcs.java:311)
    2. git4idea.GitVcs.activate(GitVcs.java:289)
    2 frames
  8. IDEA
    ApplicationImpl$8.run
    1. com.intellij.openapi.vcs.StartedActivated$3.run(StartedActivated.java:53)
    2. com.intellij.openapi.vcs.StartedActivated.callImpl(StartedActivated.java:99)
    3. com.intellij.openapi.vcs.StartedActivated.doActivate(StartedActivated.java:112)
    4. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$MyVcsActivator.activate(NewMappings.java:514)
    5. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.a(NewMappings.java:175)
    6. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.activateActiveVcses(NewMappings.java:126)
    7. com.intellij.openapi.vcs.impl.projectlevelman.NewMappings$2.run(NewMappings.java:95)
    8. com.intellij.openapi.vcs.impl.VcsInitialization.execute(VcsInitialization.java:87)
    9. com.intellij.openapi.vcs.impl.VcsInitialization$1$1.run(VcsInitialization.java:52)
    10. com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    10 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames