java AbstractMethodError

Posted by Akhil on Stack Overflow See other posts from Stack Overflow or by Akhil
Published on 2010-05-04T05:38:33Z Indexed on 2010/05/04 5:48 UTC
Read the original article Hit count: 685

Filed under:
|

How to handle this error in lucene:

java.lang.AbstractMethodError: org.apache.lucene.store.Directory.listAll()[Ljava/lang/String; at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:568) at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69) at org.apache.lucene.index.IndexReader.open(IndexReader.java:316) at org.apache.lucene.index.IndexReader.open(IndexReader.java:188)

I am making a lucene function call but unfortunately it itself calls an abstract method of some class, as is evident from the error above. What is the work around for this?

Thanks, --Akhil

© Stack Overflow or respective owner

Related posts about java

Related posts about lucene