[jsword-devel] Can't read Jeremiah 7 and Malachi 1 in Sword Modules

Jeremy Brown jsword-devel@crosswire.org
Fri, 29 Aug 2003 11:38:56 -0700


Here's the error output that JSword (the application) creates when I try
to open Jeremiah 7:

uterDisplayPane(DEBUG) new bible chosen: 1933/1953 Afrikaans Bybel, 
(Sword)
uterDisplayPane(ERROR) Logger reuse for:
org.crosswire.jsword.view.swing.book.OuterDisplayPane
uterDisplayPane(WARN ) Error reading data.
org.crosswire.jsword.book.BookException: Error reading data.
        at
org.crosswire.jsword.book.sword.GZIPBackend.getRawText(GZIPBackend.java:230)
        at
org.crosswire.jsword.book.sword.SwordBible.getData(SwordBible.java:105)
        at
org.crosswire.jsword.view.swing.book.InnerDisplayPane.setPassage(InnerDisplayPane.java:123)
        at
org.crosswire.jsword.view.swing.book.TabbedDisplayPane.setPassage(TabbedDisplayPane.java:143)
        at
org.crosswire.jsword.view.swing.book.OuterDisplayPane.setPassage(OuterDisplayPane.java:108)
        at
org.crosswire.jsword.view.swing.book.OuterDisplayPane$CustomDisplaySelectListener.bookChosen(OuterDisplayPane.java:222)
        at
org.crosswire.jsword.view.swing.book.DisplaySelectPane.fireVersionChanged(DisplaySelectPane.java:546)
        at
org.crosswire.jsword.view.swing.book.DisplaySelectPane.changeVersion(DisplaySelectPane.java:469)
        at
org.crosswire.jsword.view.swing.book.DisplaySelectPane$4.itemStateChanged(DisplaySelectPane.java:122)
        at javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
        at javax.swing.JComboBox.selectedItemChanged(Unknown Source)
        at javax.swing.JComboBox.contentsChanged(Unknown Source)
        at javax.swing.AbstractListModel.fireContentsChanged(Unknown
Source)
        at
org.crosswire.jsword.view.swing.book.BooksComboBoxModel.setSelectedItem(BooksComboBoxModel.java:61)
        at javax.swing.JComboBox.setSelectedItem(Unknown Source)
        at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
        at
javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased(Unknown
Source)
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at
javax.swing.plaf.basic.BasicComboPopup$2.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.EOFException
        at java.io.RandomAccessFile.readFully(Unknown Source)
        at java.io.RandomAccessFile.readFully(Unknown Source)
        at
org.crosswire.jsword.book.sword.SwordUtil.readRAF(SwordUtil.java:46)
        at
org.crosswire.jsword.book.sword.GZIPBackend.getRawText(GZIPBackend.java:154)
        ... 36 more



And here is the error output when I then try to switch to Malachi 1:

uterDisplayPane(DEBUG) new passage chosen: Mal 1
uterDisplayPane(ERROR) Logger reuse for:
org.crosswire.jsword.view.swing.book.OuterDisplayPane
uterDisplayPane(WARN ) Error reading data.
org.crosswire.jsword.book.BookException: Error reading data.
        at
org.crosswire.jsword.book.sword.GZIPBackend.getRawText(GZIPBackend.java:230)
        at
org.crosswire.jsword.book.sword.SwordBible.getData(SwordBible.java:105)
        at
org.crosswire.jsword.view.swing.book.InnerDisplayPane.setPassage(InnerDisplayPane.java:123)
        at
org.crosswire.jsword.view.swing.book.TabbedDisplayPane.setPassage(TabbedDisplayPane.java:143)
        at
org.crosswire.jsword.view.swing.book.OuterDisplayPane.setPassage(OuterDisplayPane.java:108)
        at
org.crosswire.jsword.view.swing.book.OuterDisplayPane$CustomDisplaySelectListener.passageSelected(OuterDisplayPane.java:233)
        at
org.crosswire.jsword.view.swing.book.DisplaySelectPane.fireCommandMade(DisplaySelectPane.java:531)
        at
org.crosswire.jsword.view.swing.book.DisplaySelectPane.updateDisplay(DisplaySelectPane.java:368)
        at
org.crosswire.jsword.view.swing.book.DisplaySelectPane.doPassageAction(DisplaySelectPane.java:355)
        at
org.crosswire.jsword.view.swing.book.DisplaySelectPane$7.actionPerformed(DisplaySelectPane.java:169)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown
Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.io.EOFException
        at java.io.RandomAccessFile.readFully(Unknown Source)
        at java.io.RandomAccessFile.readFully(Unknown Source)
        at
org.crosswire.jsword.book.sword.SwordUtil.readRAF(SwordUtil.java:46)
        at
org.crosswire.jsword.book.sword.GZIPBackend.getRawText(GZIPBackend.java:154)
        ... 32 more




This occurs with all the Sword modules I have tried so far, but it does
not occur with the KJV serialized version that came with JSword.  Also,
the Windows-native version of Sword can open these chapters.

Thanks,
Jeremy