Uploaded image for project: 'JSword'
  1. JSword
  2. JS-231

Some modules fail to index due to recoverable errors

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None

      Description

      For example, ChiUn fails to index. This is because during indexing, a parsing of a strong number fails:

      Exception in thread "Thread-8" java.lang.NumberFormatException: Value out of range. Value:"101961" Radix:10
      at java.lang.Short.parseShort(Short.java:119)
      at java.lang.Short.parseShort(Short.java:143)
      at org.crosswire.jsword.book.study.StrongsNumber.parse(StrongsNumber.java:245)
      at org.crosswire.jsword.book.study.StrongsNumber.<init>(StrongsNumber.java:64)
      at org.crosswire.jsword.index.lucene.analysis.StrongsNumberFilter.incrementToken(StrongsNumberFilter.java:72)
      at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:188)
      at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:246)
      at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:826)
      at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:802)
      at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1998)
      at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1972)
      at org.crosswire.jsword.index.lucene.LuceneIndex.generateSearchIndexImpl(LuceneIndex.java:452)
      at org.crosswire.jsword.index.lucene.LuceneIndex.<init>(LuceneIndex.java:177)
      at org.crosswire.jsword.index.lucene.LuceneIndexManager$1.run(LuceneIndexManager.java:106)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

            People

            • Assignee:
              chrisburrell Chris Burrell
              Reporter:
              chrisburrell Chris Burrell
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: