[jsword-devel] Dictionary search problem for Chinese Character Key

Yiguang Hu yighu at yahoo.com
Wed Apr 1 19:55:04 MST 2009


I created a Chinese dictionary using imp2ld.exe. It works fine if the key is in English. But If use Chinese as Key the search would fail with the following exception. Any idea?

Thanks
Yiguang

Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: -1
        at org.crosswire.jsword.book.sword.RawLDBackend.get(RawLDBackend.java:162)
        at org.crosswire.jsword.book.sword.SwordDictionary.getKey(SwordDictionary.java:176)
        at GbookController.getBookKey(GbookController.groovy:987)
        at GbookController.this$2$getBookKey(GbookController.groovy)
        at GbookController.getBookData(GbookController.groovy:955)
        at GbookController.this$2$getBookData(GbookController.groovy)
        at GbookController.getOSISProvider(GbookController.groovy:933)
        at GbookController.this$2$getOSISProvider(GbookController.groovy)
        at GbookController.getOSISString(GbookController.groovy:762)
        at GbookController$_closure12.doCall(GbookController.groovy:481)
        at GbookController$_closure12.doCall(GbookController.groovy)



      



More information about the jsword-devel mailing list