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

Still need help?

The Atlassian Community is here for you.

Ask the community


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 ] 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(
	at com.atlassian.fisheye.user.model.RecentlyVisitedRepositoryFactory.load(
	at com.atlassian.fisheye.user.model.RecentlyVisitedRepositoryFactory.load(
	at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager.loadHistory(
	at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager.getHistory(
	at com.atlassian.fisheye.user.DefaultRecentlyVisitedManager.getHistory(
	at com.atlassian.fisheye.quicksearch.action.QuickSearchAction.getRecentOrFirstRepository(


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.
Last modified on Jul 31, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.