Indexing Fails Reporting "Error: Attempt to load isDeleted from non existent revid = -1"

お困りですか?

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

コミュニティに質問

症状

During the initial indexing process of an SVN repository the following error is reported causing the indexing to stop:

ERROR [InitialPinger1 Repo_Name] fisheye.app DiffChangeSetProcessor-processFileRevisions - Unable to process change path "/folder1/tags/7.0.0.1078" in revision 22749
com.cenqua.fisheye.rep.DbException: Attempt to load isDeleted from non existent revid = -1
    at com.cenqua.fisheye.rep.impl.CommonRevInfoDAO.isDeleted(CommonRevInfoDAO.java:1688)
    at com.cenqua.fisheye.svn.db.SvnRevInfoDAO.isDeleted(SvnRevInfoDAO.java:629)
    at com.cenqua.fisheye.svn.DiffChangeSetProcessor.updateTagRoot(DiffChangeSetProcessor.java:926)
    at com.cenqua.fisheye.svn.DiffChangeSetProcessor.applyTag(DiffChangeSetProcessor.java:874)
    at com.cenqua.fisheye.svn.DiffChangeSetProcessor.access$1000(DiffChangeSetProcessor.java:65)
    at com.cenqua.fisheye.svn.DiffChangeSetProcessor$4.visit(DiffChangeSetProcessor.java:842)
    at com.cenqua.fisheye.svn.db.SvnRevInfoDAO$1.visit(SvnRevInfoDAO.java:532)
    at com.cenqua.fisheye.rep.impl.CommonRevInfoDAO.visitPathInTree(CommonRevInfoDAO.java:1987)
    at com.cenqua.fisheye.rep.impl.CommonRevInfoDAO.visitDirectoryTree(CommonRevInfoDAO.java:1975)

原因

The revision being indexed refers to a branch or tag created using "svn copy" and Fisheye is not able to find in the repository the revision or path of the svn copy source.

Fisheye 2.7.13 and newer versions will not experience this problem. In these versions, if the source can't be found, the revision will be indexed as a "svn add".

The issue may happen if the repository was corrupted (causing the information of the "svn copy" source to be lost) or if the source was excluded on purpose from Fisheye.

ソリューション

The problem can be avoided if the path containing the branch or tag copied is Excluded from Fisheye. However, this may demand extensive work if there are multiple occurrences of the issue in the same repository. The best resolution for this problem is an upgrade to Fisheye 2.7.13 or newer versions.

最終更新日 2012 年 11 月 21 日

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

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