On 11/6/2012 7:45 AM, Carrie Coy wrote:
Thank you very much for taking the time to do this. This version is able to read the index files, but there is at least one issue:

The home screen reports "ERROR: can't count terms per field" and this exception is thrown:

java.util.NoSuchElementException
at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1098)
    at java.util.TreeMap$KeyIterator.next(TreeMap.java:1154)
at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1010)
    at org.getopt.luke.IndexInfo.countTerms(IndexInfo.java:64)
    at org.getopt.luke.IndexInfo.getNumTerms(IndexInfo.java:109)
    at org.getopt.luke.Luke$3.run(Luke.java:1165)

That particular change, around IndexInfo.java line 64 (and a few other locations as well), is the one part of my changes that I actually had confidence in. I have no idea how to fix it. I'll go ahead and remove the jars from my dropbox, since they don't work.

Thanks,
Shawn

Reply via email to