Git Repository Index stopped due to RunTimeException
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Git repository incremental index has stopped suddenly with the following error reported in the fisheye-debug-<date>.log file:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
2012-12-20 00:00:53,558 ERROR [IncrementalPinger1 <Repo_Name>] fisheye.app BaseRepositoryScanner-handleSlurpException - Problem processing revisions from repo <Repo_Name> due to class java.lang.RuntimeException - readLength>readBlockLength v1.0.53 2006.10.09_10.06 Deployment edition
java.lang.RuntimeException: readLength>readBlockLength v1.0.53 2006.10.09_10.06 Deployment edition
at com.cenqua.obfuscate.idbm9i3zr._g.a(InfinityDB_1.0.53:472)
at com.cenqua.obfuscate.idbm9i3zr._g.a(InfinityDB_1.0.53:443)
at com.cenqua.obfuscate.idbm9i3zr._g.d(InfinityDB_1.0.53:391)
at com.cenqua.obfuscate.idbm9i3zr._g.a(InfinityDB_1.0.53:489)
at com.cenqua.obfuscate.idbm9i3zr._m9i3zrIDB.b(InfinityDB_1.0.53:3183)
at com.cenqua.obfuscate.idbm9i3zr._m9i3zrIDB.a(InfinityDB_1.0.53:3090)
at com.cenqua.obfuscate.idbm9i3zr._m9i3zrIDB.a(InfinityDB_1.0.53:1124)
at com.cenqua.obfuscate.idbm9i3zr._m9i3zrIDB.commit(InfinityDB_1.0.53:1038)
at com.cenqua.fisheye.infinitydb.InfinityDbWrapper.commit(InfinityDbWrapper.java:29)
at com.cenqua.fisheye.infinitydb.InfinityDbHandle.commit(InfinityDbHandle.java:102)
at com.cenqua.fisheye.cache.BaseRevisionCache.commit(BaseRevisionCache.java:152)
at com.atlassian.fisheye.dvcs.DvcsScanner.processBranch(DvcsScanner.java:436)
at com.atlassian.fisheye.dvcs.DvcsScanner.processRevisions(DvcsScanner.java:249)
at com.atlassian.fisheye.git.GitScanner.processRevisions(GitScanner.java:265)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.slurpRepository(BaseRepositoryScanner.java:258)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.doSlurpTransaction(BaseRepositoryScanner.java:225)
at com.cenqua.fisheye.rep.BaseRepositoryScanner.ping(BaseRepositoryScanner.java:184)
at com.cenqua.fisheye.rep.BaseRepositoryEngine.doSlurp(BaseRepositoryEngine.java:92)
at com.cenqua.fisheye.rep.RepositoryEngine.slurp(RepositoryEngine.java:383)
at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:28)
at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:67)
at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:138)
at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:128)
at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:33)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Cause
Fisheye repository cache for repository "<Repo_Name>" has got corrupted/out of sync with the Git server.
Resolution
Shut down Fisheye and remove the contents of the <FISHEYE_INST>/var/cache/<Repo_Name> folder. Then restart the application with --debug command line option.
This will trigger a reindex on your "<Repo_Name>" repository from scratch, allow the initial index to complete to help rebuild the repository cache.
Was this helpful?