JSword
  1. JSword
  2. JS-279

Error Exception Key Not Found for Dictionary book for the first key

    Details

    • Type: Bug Bug
    • Status: Open (View Workflow)
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: o.c.jsword.book.sword
    • Labels:
      None
    • Environment:
      • Java 7u25
      • Ubuntu 12.04 (with latest update)
      • BibleDesktop or JSword (latest nightly 31 July 2013)

      Description

      Tested on Both BibleDesktop (latest nightly) or JSword lib (latest nightly) as of 31 July 2013

      If I select or choose (lookup) the first key for certain dictionary book eg: StrongGreek or StrongHebrew, it will throw Exception Error.
      However it is work or no error for Robinson Dictionary.

      How to replicate the book

      • Open/run bibledesktop
      • On the Right Top Listbox choose either StrongGreek or StrongHebrew
      • then on the key/index listbox, choose the first key eg: Dictionary of Hebrew...
      • Bump, it throw Exception Error

      Here is the stack trace

      WARNING: Key not found Dictionaries of Hebrew and Greek Words
      org.crosswire.jsword.book.BookException: Key not found Dictionaries of Hebrew and Greek Words
      at org.crosswire.jsword.book.sword.SwordDictionary.getOsisIterator(SwordDictionary.java:84)
      at org.crosswire.jsword.book.BookData.getOsisContent(BookData.java:157)
      at org.crosswire.jsword.book.BookData.getOsisFragment(BookData.java:100)
      at org.crosswire.jsword.book.BookData.getSAXEventProvider(BookData.java:113)
      at org.crosswire.bibledesktop.display.basic.TextPaneBookDataDisplay.refresh(TextPaneBookDataDisplay.java:157)
      at org.crosswire.bibledesktop.display.basic.TextPaneBookDataDisplay.setBookData(TextPaneBookDataDisplay.java:117)
      at org.crosswire.bibledesktop.book.MultiBookPane.newEntry(MultiBookPane.java:459)
      at org.crosswire.bibledesktop.book.MultiBookPane$3.valueChanged(MultiBookPane.java:344)
      at javax.swing.JList.fireSelectionValueChanged(JList.java:1798)
      at javax.swing.JList$ListSelectionHandler.valueChanged(JList.java:1812)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:164)
      at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:211)
      at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:405)
      at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:415)
      at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:459)
      at javax.swing.JList.setSelectionInterval(JList.java:2067)
      at javax.swing.plaf.basic.BasicListUI$Handler.adjustSelection(BasicListUI.java:2739)
      at javax.swing.plaf.basic.BasicListUI$Handler.mousePressed(BasicListUI.java:2695)
      at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)
      at java.awt.Component.processMouseEvent(Component.java:6502)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:694)
      at java.awt.EventQueue$3.run(EventQueue.java:692)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:708)
      at java.awt.EventQueue$4.run(EventQueue.java:706)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      Caused by: java.io.IOException: Key not found Dictionaries of Hebrew and Greek Words
      at org.crosswire.jsword.book.sword.RawLDBackend.readRawContent(RawLDBackend.java:96)
      at org.crosswire.jsword.book.sword.RawLDBackend.readRawContent(RawLDBackend.java:71)
      at org.crosswire.jsword.book.sword.RawLDBackend.readRawContent(RawLDBackend.java:56)
      at org.crosswire.jsword.book.sword.SwordDictionary.getOsisIterator(SwordDictionary.java:82)
      ... 50 more

        Activity

        Hide
        Tonny Kohar added a comment -

        It is similar to bug entry JS-275

        But since it was fixed and checked in, it is still throw Exception for intro key (as of 31 Jul 2013)

        Show
        Tonny Kohar added a comment - It is similar to bug entry JS-275 But since it was fixed and checked in, it is still throw Exception for intro key (as of 31 Jul 2013)
        Hide
        DM Smith added a comment -

        Also happens in:
        Easton's Bible Dictionary
        Nave's Topical Bible

        Show
        DM Smith added a comment - Also happens in: Easton's Bible Dictionary Nave's Topical Bible

          People

          • Assignee:
            DM Smith
            Reporter:
            Tonny Kohar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: