svn: Processing REPORT request response failed: XML document structures must start and end within the same entity

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

Indexing an SVN repository fails with the following error:

ERROR [InitPing1 < repository_name>] fisheye BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo < repository_name> due to class com.cenqua.fisheye.rep.RepositoryClientException - org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (<PATH_TO_FILE>) 
svn: REPORT request failed on '<PATH_TO_FILE>'
com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (<PATH_TO_FILE>) 
svn: REPORT request failed on '<PATH_TO_FILE>'
...
    Caused by: org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (<PATH_TO_FILE>) 
svn: REPORT request failed on '<PATH_TO_FILE>'
...
    Caused by: org.tmatesoft.svn.core.SVNException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (<PATH_TO_FILE>) 
svn: REPORT request failed on '<PATH_TO_FILE>'  

原因

SVNKit is failing to retrieve the entire response from the SVN server.

This may be caused by the following options.

Cause #1 - Authentication

SVNKit is using negotiated authentication rather than Basic Authentication.

Cause #2 - Connection truncated

The connection from SVNKit to the svn server is truncated.

This is usually the case when the changeset to be indexed is significantly big.

ソリューション

Resolution for Cause #1 - Authentication

  • Force SVNKit to use Basic Authentication by setting the system property -Dsvnkit.http.methods=Basic (in addition to any system properties that are already provided via that environment variable) in FISHEYE_OPTS (see Environment variables for reference).
  • Restart Fisheye/Crucible

Resolution for Cause #2 - Connection truncated

  • Add the -Dsvnkit.http.spoolDirectory=<path_to_a_temporary_folder> in the FISHEYE_OPTS (see Environment variables for reference). For example: 
-Dsvnkit.http.spoolDirectory=/tmp/fisheye/spooldirectory
  • Restart Fisheye/Crucible

Alternative resolution

Alternatively, the Native Subversion Client can be used instead.

 

最終更新日 2018 年 7 月 31 日

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

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