Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
I was trying to run performance test for the new dimensional values and hit this crazy exception:
Exception in thread "main" java.lang.NumberFormatException: For input string: "5976285795" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:583) at org.apache.lucene.index.IndexFileDeleter.inflateGens(IndexFileDeleter.java:287) at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:217) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:935) at perf.IndexAndSearchOpenStreetMaps.createIndex(IndexAndSearchOpenStreetMaps.java:64) at perf.IndexAndSearchOpenStreetMaps.main(IndexAndSearchOpenStreetMaps.java:162)
It happened because I killed my indexing process while BKD was writing temp files. On starting up again, IW would have removed these unreferenced files, except inflateGens got confused by their names.
This bug only happens on trunk.