Details
-
Bug
-
Resolution: Fixed
-
High
-
1.3.8
-
Subversion 1.4.4, Windows 2003 Server
Description
The indexing of revisions from the subversion repository fails periodically. The stack trace is as follows
RepositoryScanner-slurp - Problem processing revisions from repo http://dsser4/svn/ due to class com.cenqua.fisheye.rep.DbException - java.io.IOException: Cannot rename E:\fisheye-1.3.8\var\cache\DotSphere\idx0\deleteable.new to E:\fisheye-1.3.8\var\cache\DotSphere\idx0\deletable
com.cenqua.fisheye.rep.DbException: java.io.IOException: Cannot rename E:\fisheye-1.3.8\var\cache\DotSphere\idx0\deleteable.new to E:\fisheye-1.3.8\var\cache\DotSphere\idx0\deletable
at com.cenqua.fisheye.rep.impl.CommonIndexer.insertNew(FishEye-1.3.8-build-248:35)
at com.cenqua.fisheye.rep.RepositoryIndexer$2.perform(FishEye-1.3.8-build-248:77)
at com.cenqua.fisheye.lucene.LuceneConnection.withWriter(FishEye-1.3.8-build-248:197)
at com.cenqua.fisheye.rep.RepositoryIndexer.indexBatch(FishEye-1.3.8-build-248:73)
at com.cenqua.fisheye.svn.UpdateChangeSetProcessor.indexRevisions(FishEye-1.3.8-build-248:117)
at com.cenqua.fisheye.svn.UpdateChangeSetProcessor.indexMetaData(FishEye-1.3.8-build-248:53)
at com.cenqua.fisheye.svn.SvnRepositoryScanner.indexMetaData(FishEye-1.3.8-build-248:148)
at com.cenqua.fisheye.rep.RepositoryScanner.slurpRepository(FishEye-1.3.8-build-248:424)
at com.cenqua.fisheye.rep.RepositoryScanner.slurp(FishEye-1.3.8-build-248:269)
at com.cenqua.fisheye.rep.RepositoryScanner.ping(FishEye-1.3.8-build-248:203)
at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(FishEye-1.3.8-build-248:104)
at com.cenqua.fisheye.rep.RepositoryHandle.pingEngine(FishEye-1.3.8-build-248:273)
at com.cenqua.fisheye.rep.RepositoryHandle.access$000(FishEye-1.3.8-build-248:29)
at com.cenqua.fisheye.rep.RepositoryHandle$NormalPinger.run(FishEye-1.3.8-build-248:50)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.io.IOException: Cannot rename E:\fisheye-1.3.8\var\cache\DotSphere\idx0\deleteable.new to E:\fisheye-1.3.8\var\cache\DotSphere\idx0\deletable
at org.apache.lucene.store.FSDirectory.renameFile(FSDirectory.java:294)
at org.apache.lucene.index.IndexWriter.writeDeleteableFiles(IndexWriter.java:827)
at org.apache.lucene.index.IndexWriter.deleteFiles(IndexWriter.java:778)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:747)
at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:686)
at org.apache.lucene.index.IndexWriter.maybeMergeSegments(IndexWriter.java:674)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:479)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:462)
at com.cenqua.fisheye.rep.impl.CommonIndexer.insertNew(FishEye-1.3.8-build-248:32)
... 15 more
Caused by: java.io.FileNotFoundException: E:\fisheye-1.3.8\var\cache\DotSphere\idx0\deletable (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.lucene.store.FSDirectory.renameFile(FSDirectory.java:278)
... 23 more
The user running the fisheye process has full permissions on the index directories. Seems to be a apache lucene error