Re: ClassCastException/DocumentWriter and NullPointerException/RAMInputStream

2007-02-26 Thread Antony Bowesman
Looks like this was caused by a corrupt Java installation. I was half expecting to see a comment in the code that said // Impossible event occurred Antony Antony Bowesman wrote: When adding documents to an index has anyone seen either java.lang.ClassCastException: org.apache.lucene.analysi

ClassCastException/DocumentWriter and NullPointerException/RAMInputStream

2007-02-21 Thread Antony Bowesman
When adding documents to an index has anyone seen either java.lang.ClassCastException: org.apache.lucene.analysis.Token cannot be cast to org.apache.lucene.index.Posting at org.apache.lucene.index.DocumentWriter.sortPostingTable(DocumentWriter.java:238) at org.apache.lucene.index.DocumentW