java.io.IOException: Cannot run program "bash" (in directory "C:\Users\selwyn.martin"): CreateProcess error=2, The system cannot find the file specified

JBoss Issue Tracker | Jebuselwyn Martin | 1 year ago
  1. 0

    Issue in startup of DroolsWB + Drools Execution Server 23-Oct-2015 15:40:18.898 SEVERE [localhost-startStop-1] org.eclipse.jgit.util.FS.readPipe Caught exception in FS.readPipe() java.io.IOException: Cannot run program "bash" (in directory "C:\Users\selwyn.martin"): CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620) at org.eclipse.jgit.util.FS.readPipe(FS.java:431) at org.eclipse.jgit.util.FS_Win32.discoverGitPrefix(FS_Win32.java:113) at org.eclipse.jgit.util.FS.gitPrefix(FS.java:517) at org.eclipse.jgit.util.SystemReader$Default.openSystemConfig(SystemReader.java:92) at org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:171) at org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577) at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:113) at org.uberfire.java.nio.fs.jgit.util.JGitUtil.newRepository(JGitUtil.java:104) at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.rescanForExistingRepositories(JGitFileSystemProvider.java:407) at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:371) at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:343) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) at java.lang.Class.newInstance(Class.java:442) at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380) at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404) at java.util.ServiceLoader$1.next(ServiceLoader.java:480) at org.uberfire.java.nio.file.api.FileSystemProviders.buildProviders(FileSystemProviders.java:65) at org.uberfire.java.nio.file.api.FileSystemProviders.setup(FileSystemProviders.java:48) at org.uberfire.java.nio.file.api.FileSystemProviders.resolveProvider(FileSystemProviders.java:104) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117) at org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83) at org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:241) at org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:252) at org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:187) at org.jboss.weld.context.AbstractContext.get(AbstractContext https://groups.google.com/forum/#!topic/drools-setup/qCMYwdOiBAI

    JBoss Issue Tracker | 1 year ago | Jebuselwyn Martin
    java.io.IOException: Cannot run program "bash" (in directory "C:\Users\selwyn.martin"): CreateProcess error=2, The system cannot find the file specified
  2. 0

    Java IOException when deploying war file in wildfly 8

    Stack Overflow | 1 year ago | user704023
    java.io.IOException: Cannot run program "bash" (in directory "C:\Users\bisharon"): CreateProcess error=2, The system cannot find the file specified
  3. 0

    Unable to deploy Drools workbench at Jboss 6.4.EAP

    Google Groups | 12 months ago | Vivek Srivastava
    java.io.IOException: Cannot run program "bash" (in directory "C:\Users\tom"): 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

    Drool Workbench Tomcat giving error

    Stack Overflow | 10 months ago | user1893769
    java.io.IOException: Cannot run program "bash" (in directory "C:\Users\vp19433"): CreateProcess error=2, The system cannot find the file specified
  6. 0

    Error while deploying kie-drools-wb-6.3.0.Final-eap6_4.war in jboss EAP 6.4.0

    Stack Overflow | 8 months ago | Haricharan Shetty
    java.io.IOException: Cannot run program "bash" (in directory "C:\Users\754297"): CreateProcess error=2, The system cannot find the file specified

  1. serious2monkeys 1 times, last 2 weeks ago
  2. Handemelindo 6 times, last 1 month ago
  3. kid 5 times, last 2 months ago
  4. rp 2 times, last 2 months ago
  5. jk 1 times, last 5 months ago
3 more registered users
75 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

    Cannot run program "bash" (in directory "C:\Users\selwyn.martin"): CreateProcess error=2, The system cannot find the file specified

    at java.lang.ProcessBuilder.start()
  2. Java RT
    Runtime.exec
    1. java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    2. java.lang.Runtime.exec(Runtime.java:620)
    2 frames
  3. JGit - Core
    InitCommand.call
    1. org.eclipse.jgit.util.FS.readPipe(FS.java:431)
    2. org.eclipse.jgit.util.FS_Win32.discoverGitPrefix(FS_Win32.java:113)
    3. org.eclipse.jgit.util.FS.gitPrefix(FS.java:517)
    4. org.eclipse.jgit.util.SystemReader$Default.openSystemConfig(SystemReader.java:92)
    5. org.eclipse.jgit.internal.storage.file.FileRepository.<init>(FileRepository.java:171)
    6. org.eclipse.jgit.lib.BaseRepositoryBuilder.build(BaseRepositoryBuilder.java:577)
    7. org.eclipse.jgit.api.InitCommand.call(InitCommand.java:113)
    7 frames
  4. org.uberfire.java
    JGitFileSystemProvider.<init>
    1. org.uberfire.java.nio.fs.jgit.util.JGitUtil.newRepository(JGitUtil.java:104)
    2. org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.rescanForExistingRepositories(JGitFileSystemProvider.java:407)
    3. org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:371)
    4. org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.<init>(JGitFileSystemProvider.java:343)
    4 frames
  5. Java RT
    ServiceLoader$1.next
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    5. java.lang.Class.newInstance(Class.java:442)
    6. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
    7. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    8. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    8 frames
  6. Uberfire NIO.2 :: API
    FileSystemProviders.resolveProvider
    1. org.uberfire.java.nio.file.api.FileSystemProviders.buildProviders(FileSystemProviders.java:65)
    2. org.uberfire.java.nio.file.api.FileSystemProviders.setup(FileSystemProviders.java:48)
    3. org.uberfire.java.nio.file.api.FileSystemProviders.resolveProvider(FileSystemProviders.java:104)
    3 frames
  7. Uberfire NIO.2 :: Model
    FileSystems.newFileSystem
    1. org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:117)
    2. org.uberfire.java.nio.file.FileSystems.newFileSystem(FileSystems.java:83)
    2 frames
  8. UberFire I/O
    AbstractIOService.newFileSystem
    1. org.uberfire.io.impl.AbstractIOService.newFileSystem(AbstractIOService.java:241)
    1 frame
  9. org.uberfire.backend
    SystemConfigProducer$2.create
    1. org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:252)
    2. org.uberfire.backend.server.cdi.SystemConfigProducer$2.create(SystemConfigProducer.java:187)
    2 frames