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)

Cause #1

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.

原因 #2

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 1.8.2.1 and 1.8.1.5, 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.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.