Search fails with error - Can't associate project project-name-here with entityId PROJECT-NAME-HERE

お困りですか?

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

コミュニティに質問

症状

When you try to search for anything in the search box that's displayed on the top right corner of Fisheye/Crucible, this error occurs:

2012-02-20 10:45:50,895 INFO  [btpool0-3002 ] fisheye.app TotalityFilter-logCause - Cause: Can't associate project project-name-here with entityId PROJECT-NAME-HERE
java.lang.IllegalArgumentException: Can't associate project project-name-here with entityId PROJECT-NAME-HERE
	at com.atlassian.fisheye.user.model.RecentlyVisitedRepository.setRepository(RecentlyVisitedRepository.java:19)
	at com.atlassian.fisheye.user.model.RecentlyVisitedRepositoryFactory.load(RecentlyVisitedRepositoryFactory.java:22)
	at com.atlassian.fisheye.user.model.RecentlyVisitedRepositoryFactory.load(RecentlyVisitedRepositoryFactory.java:7)
	at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager.loadHistory(DefaultRecentlyVisitedManager.java:107)
	at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager.getHistory(DefaultRecentlyVisitedManager.java:130)
	at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager.getHistory(DefaultRecentlyVisitedManager.java:115)
	at com.atlassian.fisheye.quicksearch.action.QuickSearchAction.getRecentOrFirstRepository(QuickSearchAction.java:448)

原因

The quick-search metadata index became corrupted.

ソリューション

  1. Shut down the Fisheye/Crucible instance;
  2. Delete the contents of the <FISHEYE_INST>/cache/globalfe directory;
  3. Restart the instance - this will force a rebuild of the quick-search metadata and content index.

If the above process fails to work, proceed with the following steps to clear out the old data from the database directly:

  1. Stop the application.
  2. Make a backup of the database.
  3. Delete the obsolete entries from the cru_recently_visited following table: DELETE * FROM cru_recently_visited WHERE cru_entity_id='<PROJECT-NAME-HERE>';
  4. Start the application.
最終更新日 2018 年 7 月 31 日

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

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