lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: org.apache.lucene.index.StaleReaderException
Date Tue, 16 Oct 2012 19:52:58 GMT
I would ask this on the Jackrabbit user list, given that it appears you
are using Lucene within Jackrabbit from the stacktrace.

Upayavira

On Tue, Oct 16, 2012, at 01:20 PM, devan.vanreenen@gmail.com wrote:
> Hi Guys, 
> 
> I have my app configured in a cluster and configured to use Oracle DB to
> store the app data/ assets. 
> I have recently run into the below problem and there is very little to no
> information on this error. 
> 
> Please can you let me know if you have any ideas on what could be causing
> this. 
> 
> 012-10-16 10:56:52,401 INFO  [STDOUT] (ClusterNode-node_2) ERROR 16-10
> 10:56:52,400 (SearchManager.java:onEvent:424) Error indexing node. 
> org.apache.lucene.index.StaleReaderException: IndexReader out of date and
> no
> longer valid for delete, undelete, or setNorm operations 
>         at
> org.apache.lucene.index.DirectoryIndexReader.acquireWriteLock(DirectoryIndexReader.java:348)

>         at
> org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:837) 
>         at
> org.apache.lucene.index.FilterIndexReader.doDelete(FilterIndexReader.java:206) 
>         at
> org.apache.jackrabbit.core.query.lucene.CommittableIndexReader.doDelete(CommittableIndexReader.java:56)

>         at
> org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:839) 
>         at
> org.apache.lucene.index.IndexReader.deleteDocuments(IndexReader.java:873) 
>         at
> org.apache.jackrabbit.core.query.lucene.AbstractIndex.removeDocument(AbstractIndex.java:225)

>         at
> org.apache.jackrabbit.core.query.lucene.PersistentIndex.removeDocument(PersistentIndex.java:90)

>         at
> org.apache.jackrabbit.core.query.lucene.MultiIndex$DeleteNode.execute(MultiIndex.java:1990)

>         at
> org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:1120)

>         at
> org.apache.jackrabbit.core.query.lucene.MultiIndex.update(MultiIndex.java:451) 
>         at
> org.apache.jackrabbit.core.query.lucene.SearchIndex.updateNodes(SearchIndex.java:630)

>         at
> org.apache.jackrabbit.core.SearchManager.onEvent(SearchManager.java:420) 
>         at
> org.apache.jackrabbit.core.observation.EventConsumer.consumeEvents(EventConsumer.java:246)

>         at
> org.apache.jackrabbit.core.observation.ObservationDispatcher.dispatchEvents(ObservationDispatcher.java:214)

>         at
> org.apache.jackrabbit.core.observation.EventStateCollection.dispatch(EventStateCollection.java:475)

>         at
> org.apache.jackrabbit.core.state.SharedItemStateManager.externalUpdate(SharedItemStateManager.java:1168)

>         at
> org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.externalUpdate(RepositoryImpl.java:2273)

>         at
> org.apache.jackrabbit.core.cluster.ClusterNode.process(ClusterNode.java:805) 
>         at
> org.apache.jackrabbit.core.cluster.ChangeLogRecord.process(ChangeLogRecord.java:498)

>         at
> org.apache.jackrabbit.core.cluster.ClusterNode.consume(ClusterNode.java:751) 
>         at
> org.apache.jackrabbit.core.journal.AbstractJournal.doSync(AbstractJournal.java:212) 
>         at
> org.apache.jackrabbit.core.journal.AbstractJournal.sync(AbstractJournal.java:186) 
>         at
> org.apache.jackrabbit.core.cluster.ClusterNode.sync(ClusterNode.java:303) 
>         at
> org.apache.jackrabbit.core.cluster.ClusterNode.run(ClusterNode.java:269) 
>         at java.lang.Thread.run(Thread.java:619) 
> 
> Thanks and Regards 
> Devan 
> 
> 
> 
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/org-apache-lucene-index-StaleReaderException-tp4013973.html
> Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message