It seems you are using lucene 1.9 with jackrabbit. This is currently not possible because there is a backward compatibility issue with the 1.9 lucene release. You have to switch back to lucene 1.4.3.

See: http://issues.apache.org/jira/browse/JCR-352

regards
 marcel

thomasg wrote:
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)

Reply via email to