Fisheye Can't Start GIT Repository Due to Non-Zero Exit Code
You are getting the following error message when trying to start a Git repository:
ERROR - Problem processing revisions from repo Git due to class com.atlassian.fisheye.plugins.scm.utils.process.ProcessException - Non-zero exit code: 138 com.atlassian.fisheye.plugins.scm.utils.process.ProcessException: Non-zero exit code: 138 at com.atlassian.fisheye.plugins.scm.utils.process.PluggableProcessHandler.complete(PluggableProcessHandler.java:66) at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.finish(ExternalProcess.java:204) at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess.execute(ExternalProcess.java:218) at com.atlassian.fisheye.git.client.GitContext.executeCommand(GitContext.java:138) at com.atlassian.fisheye.git.client.GitContext.executeCommand(GitContext.java:96) at com.atlassian.fisheye.git.client.GitContext.executeCommand(GitContext.java:90) at com.atlassian.fisheye.git.client.GitContext.executeCommand(GitContext.java:86)
This can be caused by an incorrect repository path setting. For instance:
<git location="file:///Users/amyers/git/test.git" path="/"/>
If you include the leading
/ for the path, it will be interpreted as an absolute path on the file system when Fisheye tries to run git.
Certain versions of the git client can experience segmentation fault when character encoding in committers' name is not UTF-8, however this may not exclusively be the cause. Such behavior was noticed using git versions 188.8.131.52 and 184.108.40.206, but likely other versions may be affected.
Resolution for cause #1
Ensure that you have configured the GIT repository correctly, going by the example above the solution would be to remove the leading
/ from the repository configuration.
<git location="file:///Users/amyers/git/test.git" path=""/>
Resolution for cause #2
Upgrade your git client to a newer version, see Supported platforms for reference.