[jsword-devel] [JIRA] Updated: (JS-113) ABP-Apostolic Bible Polyglot English Text causes indexing error
DM Smith (JIRA)
jira at crosswire.org
Sun Feb 6 13:51:56 MST 2011
[ http://www.crosswire.org/bugs/browse/JS-113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DM Smith updated JS-113:
------------------------
Fix Version/s: 1.6.1
> ABP-Apostolic Bible Polyglot English Text causes indexing error
> ---------------------------------------------------------------
>
> Key: JS-113
> URL: http://www.crosswire.org/bugs/browse/JS-113
> Project: JSword
> Issue Type: Bug
> Reporter: Martin Denham
> Assignee: DM Smith
> Priority: Minor
> Fix For: 1.6.1
>
>
> There is a reference with a number that is larger than a Short and JSword throws an error on
> // Get the number after the G or H
> strongsNumber = Short.parseShort(m.group(2));
> I haven't analyzed the ABP to see exactly what is happening but this could be an error in the ABP.
> Exception in thread "Thread-20" java.lang.NumberFormatException: Value out of range. Value:"35887" Radix:10
> at java.lang.Short.parseShort(Unknown Source)
> at java.lang.Short.parseShort(Unknown Source)
> at org.crosswire.jsword.book.study.StrongsNumber.parse(StrongsNumber.java:243)
> at org.crosswire.jsword.book.study.StrongsNumber.<init>(StrongsNumber.java:63)
> at org.crosswire.jsword.index.lucene.analysis.StrongsNumberFilter.incrementToken(StrongsNumberFilter.java:71)
> at org.apache.lucene.index.DocInverterPerField.processFields(DocInverterPerField.java:189)
> at org.apache.lucene.index.DocFieldProcessorPerThread.processDocument(DocFieldProcessorPerThread.java:244)
> at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:779)
> at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:757)
> at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2472)
> at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:2446)
> at org.crosswire.jsword.index.lucene.LuceneIndex.generateSearchIndexImpl(LuceneIndex.java:455)
> at org.crosswire.jsword.index.lucene.LuceneIndex.<init>(LuceneIndex.java:177)
> at org.crosswire.jsword.index.lucene.LuceneIndexManager$1.run(LuceneIndexManager.java:105)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jsword-devel
mailing list