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

Errors creating indexes for AV modules

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: o.c.jsword.index
    • Labels:
      None

      Description

      I have just been generating indexes for some AV modules and get a lot of errors like those below. The module being indexed below is HunUj from the CrossWire AV repo:

      Indexing:HunUj name:Magyar Bibliatársulat újfordítású Bibliája
      Sep 11, 2013 10:10:49 PM org.crosswire.jsword.book.OSISUtil getReferences
      WARNING: Unable to parse: Exod.4.22-Exod.4.32
      org.crosswire.jsword.passage.NoSuchVerseException: Verse should be between 0 and 31 for Exodus 4 (given 32).
      at org.crosswire.jsword.versification.Versification.validate(Versification.java:1086)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromText(VerseRangeFactory.java:174)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:134)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:73)
      at org.crosswire.jsword.passage.AbstractPassage.addVerses(AbstractPassage.java:908)
      at org.crosswire.jsword.passage.BitwisePassage.<init>(BitwisePassage.java:89)
      at org.crosswire.jsword.passage.RocketPassage.<init>(RocketPassage.java:71)
      at org.crosswire.jsword.passage.PassageType$1.createPassage(PassageType.java:42)
      at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:170)
      at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:189)
      at org.crosswire.jsword.book.OSISUtil.getReferences(OSISUtil.java:781)
      at org.crosswire.jsword.index.lucene.LuceneIndex.generateSearchIndexImpl(LuceneIndex.java:444)
      at org.crosswire.jsword.index.lucene.LuceneIndex.<init>(LuceneIndex.java:204)
      at org.crosswire.jsword.index.lucene.LuceneIndexManager.scheduleIndexCreation(LuceneIndexManager.java:112)
      at org.crosswire.jsword.bridge.BookIndexer$1.run(BookIndexer.java:81)
      at java.lang.Thread.run(Thread.java:722)

      Sep 11, 2013 10:10:49 PM org.crosswire.jsword.book.OSISUtil getReferences
      WARNING: Unable to parse: Num.16.1-Num.16.40
      org.crosswire.jsword.passage.NoSuchVerseException: Verse should be between 0 and 35 for Numbers 16 (given 40).
      at org.crosswire.jsword.versification.Versification.validate(Versification.java:1086)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromText(VerseRangeFactory.java:174)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:134)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:73)
      at org.crosswire.jsword.passage.AbstractPassage.addVerses(AbstractPassage.java:908)
      at org.crosswire.jsword.passage.BitwisePassage.<init>(BitwisePassage.java:89)
      at org.crosswire.jsword.passage.RocketPassage.<init>(RocketPassage.java:71)
      at org.crosswire.jsword.passage.PassageType$1.createPassage(PassageType.java:42)
      at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:170)
      at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:189)
      at org.crosswire.jsword.book.OSISUtil.getReferences(OSISUtil.java:781)
      at org.crosswire.jsword.index.lucene.LuceneIndex.generateSearchIndexImpl(LuceneIndex.java:444)
      at org.crosswire.jsword.index.lucene.LuceneIndex.<init>(LuceneIndex.java:204)
      at org.crosswire.jsword.index.lucene.LuceneIndexManager.scheduleIndexCreation(LuceneIndexManager.java:112)
      at org.crosswire.jsword.bridge.BookIndexer$1.run(BookIndexer.java:81)
      at java.lang.Thread.run(Thread.java:722)

      Sep 11, 2013 10:10:49 PM org.crosswire.jsword.book.OSISUtil getReferences
      WARNING: Unable to parse: Ps.78.70-Ps.78.73
      org.crosswire.jsword.passage.NoSuchVerseException: Verse should be between 0 and 72 for Psalms 78 (given 73).
      at org.crosswire.jsword.versification.Versification.validate(Versification.java:1086)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromText(VerseRangeFactory.java:174)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:134)
      at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:73)
      at org.crosswire.jsword.passage.AbstractPassage.addVerses(AbstractPassage.java:908)
      at org.crosswire.jsword.passage.BitwisePassage.<init>(BitwisePassage.java:89)
      at org.crosswire.jsword.passage.RocketPassage.<init>(RocketPassage.java:71)
      at org.crosswire.jsword.passage.PassageType$1.createPassage(PassageType.java:42)
      at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:170)
      at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:189)
      at org.crosswire.jsword.book.OSISUtil.getReferences(OSISUtil.java:781)
      at org.crosswire.jsword.index.lucene.LuceneIndex.generateSearchIndexImpl(LuceneIndex.java:444)
      at org.crosswire.jsword.index.lucene.LuceneIndex.<init>(LuceneIndex.java:204)
      at org.crosswire.jsword.index.lucene.LuceneIndexManager.scheduleIndexCreation(LuceneIndexManager.java:112)
      at org.crosswire.jsword.bridge.BookIndexer$1.run(BookIndexer.java:81)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

            People

            • Assignee:
              dmsmith DM Smith
              Reporter:
              mjdenham Martin Denham
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: