Hi<div><br></div><div>While I&#39;m trying to retrieve a passage it seems to want to compare some keys. I&#39;m looking at the DRC module, with Tob 1, but the problem occurs elsewhere.</div><div><br></div><div>Here&#39;s the stack trace I get. I&#39;m at a lost to why we need to compare verse numbers here, but perhaps someone can enlighten me. Happy to fix it if I can understand what it&#39;s trying to do and a way forward.</div>
<div><br></div><div>Also,  I&#39;ve made a small fix to the Versification elsewhere in the code (pull request in Git).</div><div><br></div><div><div>Caused by: java.lang.ArrayIndexOutOfBoundsException: -1</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.versification.Versification.getOrdinal(Versification.java:503)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.Verse.getOrdinal(Verse.java:440)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.Verse.compareTo(Verse.java:261)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.VerseRange.&lt;init&gt;(VerseRange.java:136)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.VerseRangeFactory.fromText(VerseRangeFactory.java:124)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:96)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.VerseRangeFactory.fromString(VerseRangeFactory.java:61)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.AbstractPassage.addVerses(AbstractPassage.java:879)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.BitwisePassage.&lt;init&gt;(BitwisePassage.java:88)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.RocketPassage.&lt;init&gt;(RocketPassage.java:70)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.PassageType$1.createPassage(PassageType.java:44)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.passage.PassageKeyFactory.getKey(PassageKeyFactory.java:83)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at org.crosswire.jsword.book.basic.AbstractPassageBook.getKey(AbstractPassageBook.java:217)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at com.tyndalehouse.step.core.service.jsword.impl.JSwordPassageServiceImpl.getBookData(JSwordPassageServiceImpl.java:447)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at com.tyndalehouse.step.core.service.jsword.impl.JSwordPassageServiceImpl.getOsisText(JSwordPassageServiceImpl.java:433)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at com.tyndalehouse.step.core.service.impl.BibleInformationServiceImpl.getPassageText(BibleInformationServiceImpl.java:128)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>at com.tyndalehouse.step.rest.controllers.BibleController.getBibleText(BibleController.java:157)</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>at com.tyndalehouse.step.rest.controllers.BibleController.getBibleText(BibleController.java:138)</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>... 30 more</div>
</div><div><br></div><div><br></div><div>Crhis</div><div><br></div>