Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: 1.6.1
-
Component/s: o.c.jsword.index
-
Labels:None
-
Environment:
Ubuntu 8.04, sun java 6, i386
Description
After clicking the "Enable search" button with the Darby bible the index creation proceeds till the book of acts. After that the jsword process outputs
Exception in thread "Thread-6" java.lang.ClassCastException: org.jdom.Text cannot be cast to org.jdom.Element
at org.crosswire.jsword.book.filter.gbf.GBFTags$TextTag.updateOsisStack(GBFTags.java:662)
at org.crosswire.jsword.book.filter.gbf.GBFFilter.toOSIS(GBFFilter.java:67)
at org.crosswire.jsword.book.basic.AbstractPassageBook.getOsisIterator(AbstractPassageBook.java:98)
at org.crosswire.jsword.book.BookData.getOsisContent(BookData.java:168)
at org.crosswire.jsword.book.BookData.getOsisFragment(BookData.java:106)
at org.crosswire.jsword.index.lucene.LuceneIndex.generateSearchIndexImpl(LuceneIndex.java:391)
at org.crosswire.jsword.index.lucene.LuceneIndex.<init>(LuceneIndex.java:142)
at org.crosswire.jsword.index.lucene.LuceneIndexManager$1.run(LuceneIndexManager.java:108)
at java.lang.Thread.run(Thread.java:619)
The bug is present in the latest (26th of April) snapshot.
Juha