Repository Will Not Start Due To "Bad file format"

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

When attempting to start a given repository, the following WARN message is displayed in the logs:

2011-04-26 15:08:26,450 INFO  [main ] fisheye.app InfinityDbHandle-open - opening /usr/local/fisheye/current/var/cache/testrepo/revcache/data.bin with cachesize=700929365
2011-04-26 15:08:26,452 WARN  [main ] fisheye.app DefaultRepositoryManager-runRepositories - Problem starting repository
com.cenqua.fisheye.rep.DbException: java.io.IOException: Bad file format (file truncated.)
	at com.cenqua.fisheye.infinitydb.InfinityDbHandle.get(InfinityDbHandle.java:46)
	at com.cenqua.fisheye.rep.impl.CommonUtilDAO.hasProperty(CommonUtilDAO.java:147)
	at com.cenqua.fisheye.rep.impl.CommonUtilDAO.hasProperty(CommonUtilDAO.java:38)
	at com.cenqua.fisheye.cache.BaseRevisionCache.hasScanProperty(BaseRevisionCache.java:608)
	at com.cenqua.fisheye.cache.BaseDirInfoCache.loadIndexingFeatures(BaseDirInfoCache.java:67)

The repository will fail to start.

Cause

The repository caches have become corrupted and will need to be recreated.

Resolution

Please initiate a re-index of your problematic repository to resolve the issue.

Last modified on Nov 21, 2012

Was this helpful?

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