[jsword-devel] [JIRA] Closed: (BD-101) Exception thrown when starting verses on one line
DM Smith (JIRA)
jira at crosswire.org
Sun Feb 6 13:18:11 MST 2011
[ http://www.crosswire.org/bugs/browse/BD-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DM Smith closed BD-101.
-----------------------
Just changing fixed version.
> Exception thrown when starting verses on one line
> -------------------------------------------------
>
> Key: BD-101
> URL: http://www.crosswire.org/bugs/browse/BD-101
> Project: Bible Desktop
> Issue Type: Bug
> Components: book display
> Environment: Mac OS 10.4.9
> Java 1.5.0_07
> BibleDesktop 2007-06-08 nightly build
> ESV Sword module
> Reporter: Gabriel Valencia
> Assignee: DM Smith
> Fix For: 1.5 (was 1.0.7)
>
>
> I am getting an exception when turning on "Start verses on separate lines" using the 2007-06-08 nightly build. Here is the exception stack trace from my console:
> WARNING: Could not execute method org.crosswire.bibledesktop.desktop.DesktopActions.doVLine()
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.crosswire.common.swing.ActionFactory.actionPerformed(ActionFactory.java:108)
> at org.crosswire.common.swing.CWAction.actionPerformed(CWAction.java:63)
> at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
> at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
> at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
> at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269)
> at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
> at apple.laf.ScreenCheckboxMenuItem.itemStateChanged(ScreenCheckboxMenuItem.java:170)
> at java.awt.CheckboxMenuItem.processItemEvent(CheckboxMenuItem.java:360)
> at java.awt.CheckboxMenuItem.processEvent(CheckboxMenuItem.java:328)
> at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
> at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
> at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
> at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
> at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
> Caused by: org.jdom.IllegalAddException: The element "osis" could not be added as the root of the document: The Content already has an existing parent document
> at org.jdom.ContentList.add(ContentList.java:214)
> at org.jdom.ContentList.add(ContentList.java:140)
> at java.util.AbstractList.add(AbstractList.java:89)
> at org.jdom.Document.setRootElement(Document.java:236)
> at org.jdom.Document.<init>(Document.java:117)
> at org.jdom.Document.<init>(Document.java:154)
> at org.crosswire.jsword.book.BookData.getSAXEventProvider(BookData.java:113)
> at org.crosswire.bibledesktop.display.basic.TextPaneBookDataDisplay.refresh(TextPaneBookDataDisplay.java:141)
> at org.crosswire.bibledesktop.display.ProxyBookDataDisplay.refresh(ProxyBookDataDisplay.java:120)
> at org.crosswire.bibledesktop.display.basic.TabbedBookDataDisplay.refresh(TabbedBookDataDisplay.java:182)
> at org.crosswire.bibledesktop.desktop.DesktopActions.doVLine(DesktopActions.java:289)
> ... 22 more
> Here are the steps I followed to reproduce:
> 1) Open up BD.
> 2) Type in "rom 8" into the Show Passage field
> 3) Go to the View menu and select "Start verses on separate lines"
> 4) Check your Java consoel (or system console if using Mac OS for the exception
--
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