Details
-
Type:
Bug
-
Status:
Resolved
(View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.7
-
Component/s: None
-
Labels:None
Description
I'm getting a stackoverflow in JSword on this line. Any ideas why that would be?
org.crosswire.jsword.index.lucene.LuceneIndex.generateSearchIndexImpl(Progress, List<Key>, IndexWriter, Key, int)
Issue Links
- is duplicated by
-
JS-161
Exhaustive testing of indexing Bible modules - results with BD 1.6 (latest nightly build)
-
Could it be the recursion in the routine? What is the nature of the key?
A verse or a verse list should be straightforward with no recursion.
int size = key.getCardinality();
int subCount = count;
for (Key subkey : key) {
if (subkey.canHaveChildren()) { generateSearchIndexImpl(job, errors, writer, subkey, subCount); } else { data = new BookData(book, subkey); osis = null; .... }
}
}