jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomasg <thomasgascoi...@hotmail.com>
Subject ClassCastException in timer thread
Date Tue, 28 Mar 2006 16:33:22 GMT

Hi guys,

I am experiencing the following exception on a regular basis when adding
documents to a repository. The document still gets added but it would be
good to know the cause / solution for the exception if anyone has seen it
before:

Exception in thread "Timer-1" java.lang.ClassCastException:
org.apache.lucene.store.FSIndexOutput
	at org.apache.lucene.store.Directory.createFile(Directory.java:67)
	at
org.apache.jackrabbit.core.query.lucene.FSDirectory.createFile(FSDirectory.java:161)
	at org.apache.lucene.store.Directory.createOutput(Directory.java:75)
	at org.apache.lucene.index.SegmentInfos.write(SegmentInfos.java:78)
	at org.apache.lucene.index.IndexWriter$1.doBody(IndexWriter.java:263)
	at org.apache.lucene.store.Lock$With.run(Lock.java:109)
	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:260)
	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:245)
	at
org.apache.jackrabbit.core.query.lucene.AbstractIndex.<init>(AbstractIndex.java:105)
	at
org.apache.jackrabbit.core.query.lucene.PersistentIndex.<init>(PersistentIndex.java:75)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.getOrCreateIndex(MultiIndex.java:484)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex$CreateIndex.execute(MultiIndex.java:1426)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:770)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(MultiIndex.java:811)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java:690)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.checkFlush(MultiIndex.java:936)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex.access$000(MultiIndex.java:73)
	at
org.apache.jackrabbit.core.query.lucene.MultiIndex$1.run(MultiIndex.java:290)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)

Thanks, Thomas
--
View this message in context: http://www.nabble.com/ClassCastException-in-timer-thread-t1356696.html#a3633066
Sent from the Jackrabbit - Dev forum at Nabble.com.


Mime
View raw message