jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Delete count mismatch ?
Date Thu, 12 Nov 2009 09:15:48 GMT
Hi,

this looks like https://issues.apache.org/jira/browse/LUCENE-1474

can you please verify that you are using lucene 2.4.1 and not 2.4.0?

regards
 marcel

2009/11/11 Hervé Agnoux <herve.agnoux@diaam-informatique.com>:
> 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