jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Agnoux <herve.agn...@diaam-informatique.com>
Subject Delete count mismatch ?
Date Wed, 11 Nov 2009 19:16:50 GMT
Hi,

I have copied a transient repository from a directory to another. When I 
launch my jcr appli on the source, all is ok. When i launch on the copy, I get 
:

Caused by: java.lang.AssertionError: delete count mismatch: info=44 vs 
BitVector=36
        at 
org.apache.lucene.index.SegmentReader.loadDeletedDocs(SegmentReader.java:405)
        at 
org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:368)
        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:306)
        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:269)
        at 
org.apache.lucene.index.DirectoryIndexReader$1.doBody(DirectoryIndexReader.java:100)
        at 
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:653)
        at 
org.apache.lucene.index.DirectoryIndexReader.open(DirectoryIndexReader.java:115)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:316)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:227)
        at 
org.apache.jackrabbit.core.query.lucene.AbstractIndex.getIndexReader(AbstractIndex.java:241)
        at 
org.apache.jackrabbit.core.query.lucene.AbstractIndex.getReadOnlyIndexReader(AbstractIndex.java:262)
        at 
org.apache.jackrabbit.core.query.lucene.AbstractIndex.getReadOnlyIndexReader(AbstractIndex.java:317)
        at 
org.apache.jackrabbit.core.query.lucene.IndexMigration.migrate(IndexMigration.java:65)
        at 
org.apache.jackrabbit.core.query.lucene.PersistentIndex.<init>(PersistentIndex.java:66)
        at 
org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:266)
        at 
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:502)
        at 
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:66)
        at 
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:538)
        at 
org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:213)
        at 
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1790)
        at 
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2008)
        at 
org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1921)
        at 
org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:489)
        at 
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:330)
        at 
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:627)
        at 
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:230)
        at 
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:251)
        at 
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:319)
        at 
... etc.

What it is ??

With jackrabbit 1.6

Thanks.



Mime
View raw message