[jsword-devel] [Fwd: [sword-support] Problem getting JSword up and running.]

Troy A. Griffitts jsword-devel@crosswire.org
Mon, 17 Nov 2003 11:15:24 -0700


-------- Original Message --------
Subject: [sword-support] Problem getting JSword up and running.
Date: Mon, 17 Nov 2003 15:13:17 +0100
From: Karsten Pleines <kpleines@web.de>
Reply-To: kpleines@web.de, sword-support@crosswire.org
Organization: http://freemail.web.de/
To: sword-feedback@crosswire.org
CC: kp-news@gmx.de

Dear Crosswire Team,

I am happy to find your librarys and GUI based bible software at the 
internet. After I have found Crosswire I started to install JSword on my 
Apple Mac. First time the application don't starts becaus of some 
missing jars at the startscript. After I had completed the classpath 
JSword is running but the default book is missing. I tryed to install 
another book without sucess.

On my Windows PC the default book is running well. But additional 
Modules aren't found by JSword.

Thank you for
programming a free
bible software.

God belss you
Karsten Pleines


Here is the Stacktrace from JSword running on my Mac:
OS X 10.2.4

###########################
:/Users/pleines/Desktop/karsten/jsword-20030420/resource:/Users/pleines/Desktop/karsten/jsword-20030420/lib/crimson.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jaxp.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jdom.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/dom.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jlfgr-1_0.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jsword.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/xalan.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/log4j-1.2.7.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jaxb-ri.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jaxb-libs.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jaxb-api.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/commons-lang-1.0.1.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/xercesImpl.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/jsword_book.jar:/Users/pleines/Desktop/karsten/jswor!

 
d-20030420/lib/sax.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/xercesImpl.jar:/Users/pleines/Desktop/karsten/jsword-20030420/lib/xml-apis.jar
d.util.Resource(ERROR) Failed to get any classes.
java.net.MalformedURLException: Can't find resource: 
org.crosswire.jsword.book.BookDriver.properties
	at org.crosswire.jsword.util.Resource.getResource(Resource.java:413)
	at 
org.crosswire.jsword.util.Resource.getResourceAsStream(Resource.java:424)
	at 
org.crosswire.jsword.util.Resource.getResourceProperties(Resource.java:190)
	at org.crosswire.jsword.util.Resource.getProperties(Resource.java:174)
	at org.crosswire.jsword.util.Resource.getImplementors(Resource.java:277)
	at org.crosswire.jsword.book.Books.<clinit>(Books.java:323)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.getFullNameArray(OptionsAction.java:115)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.fillChoiceFactory(OptionsAction.java:98)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.createConfig(OptionsAction.java:64)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:109)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
word.book.Books(DEBUG) begin auto-registering 0 drivers:
word.book.Books(DEBUG) end auto-registering drivers:
d.util.Resource(DEBUG) getResource(readings/index.txt) = 
file:/Users/pleines/Desktop/karsten/jsword-20030420/resource/readings/index.txt 
using getClass().getResource(/search);
d.util.Resource(DEBUG) getResource(config.xml) = 
file:/Users/pleines/Desktop/karsten/jsword-20030420/resource/config.xml 
using getClass().getResource(/search);
d.util.Resource(DEBUG) Loading config.xml from classpath: [OK]
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.book.Defaults.setBibleByName(java.lang.String arg0)
word.book.Books(ERROR) Logger reuse for: org.crosswire.jsword.book.Books
n.config.Config(INFO ) Adding key=Bibles.Default Bible
n.config.Config(INFO ) key=Bibles.Default Bible has a null value
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.book.Defaults.setDictionaryByName(java.lang.String 
arg0)
n.config.Config(INFO ) Adding key=Bibles.Default Dictionary
n.config.Config(INFO ) key=Bibles.Default Dictionary has a null value
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.book.Defaults.setCommentaryByName(java.lang.String 
arg0)
n.config.Config(INFO ) Adding key=Bibles.Default Commentary
n.config.Config(INFO ) key=Bibles.Default Commentary has a null value
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.view.swing.book.TabbedDisplayPane.setPageSize(int arg0)
n.config.Config(INFO ) Adding key=Bibles.Verses Per Tab
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.book.raw.RawBible.setDefaultCacheData(boolean arg0)
n.config.Config(INFO ) Adding key=Bibles.Raw.Cache Data
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.book.sword.SwordBookDriver.setSwordDir(java.lang.String 
arg0)
n.config.Config(INFO ) Adding key=Bibles.Sword.Base Directory
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.book.remote.HttpRemoteBookDriver.setURLs([Ljava.lang.String; 
arg0)
n.config.Config(INFO ) Adding key=Bibles.Remote.Remote Host
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.passage.PassageUtil.setPersistentNaming(boolean arg0)
n.config.Config(INFO ) Adding key=Bibles.Display.Persistent Naming
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.passage.PassageUtil.setBlurRestriction(int arg0)
n.config.Config(INFO ) Adding key=Bibles.Display.Blurring Rules
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.passage.BibleInfo.setCase(int arg0)
n.config.Config(INFO ) Adding key=Bibles.Display.Book Case
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.book.readings.ReadingsBookDriver.setReadingsSet(java.lang.String 
arg0)
n.config.Config(INFO ) Adding key=Bibles.Readings
d.util.Resource(DEBUG) getResource(readings/index.txt) = 
file:/Users/pleines/Desktop/karsten/jsword-20030420/resource/readings/index.txt 
using getClass().getResource(/search);
ReflectedChoice(DEBUG) Looking up 
org.crosswire.common.swing.LookAndFeelUtil.setLookAndFeel(java.lang.Class 
arg0)
n.config.Config(INFO ) Adding key=Looks.Look and Feel
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.view.swing.desktop.Desktop.setInitialLayoutType(int 
arg0)
n.config.Config(INFO ) Adding key=Looks.Initial Layout
ReflectedChoice(DEBUG) Looking up 
org.crosswire.common.swing.ExceptionPane.setHelpDeskListener(boolean arg0)
n.config.Config(INFO ) Adding key=Reports.Exceptions to Dialog Box
ReflectedChoice(DEBUG) Looking up 
org.crosswire.common.swing.ExceptionShelf.setHelpDeskListener(boolean arg0)
n.config.Config(INFO ) Adding key=Reports.Exceptions to Log Window
ReflectedChoice(DEBUG) Looking up 
org.crosswire.common.swing.ExceptionPane.setSourcePath([Ljava.lang.String; 
arg0)
n.config.Config(INFO ) Adding key=Advanced.Source Path
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.util.Style.setDebug(boolean arg0)
n.config.Config(INFO ) Adding key=Advanced.XSLT.Debug
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.util.Style.setCache(boolean arg0)
n.config.Config(INFO ) Adding key=Advanced.XSLT.Cache
ReflectedChoice(DEBUG) Looking up 
org.crosswire.jsword.passage.PassageFactory.setDefaultPassage(int arg0)
n.config.Config(INFO ) Adding key=Advanced.Passage.Default Type
d.util.Resource(DEBUG) Loaded desktop.properties from writable area 
(ignoring resources): [OK]
n.config.Config(INFO ) Force=true, all changes will propogate regardless
n.config.Config(INFO ) Settings for priority level=10
n.config.Config(INFO ) Settings for priority level=9
n.config.Config(INFO ) Settings for priority level=8
n.config.Config(INFO ) Settings for priority level=7
n.config.Config(INFO ) Settings for priority level=6
n.config.Config(INFO ) Settings for priority level=5
n.config.Config(INFO ) Setting Bibles.Default Bible= (was null)
on.util.MsgBase(DEBUG) Using default resources for 
org.crosswire.jsword.book.Msg
n.config.Config(WARN ) Failure with Bibles.Default Bible=
org.crosswire.jsword.book.BookException: Book called {0} could not be found.
	at org.crosswire.jsword.book.Defaults.setBibleByName(Defaults.java:147)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.config.Config(ERROR) Logger reuse for: org.crosswire.common.config.Config
n.config.Config(WARN ) Book called {0} could not be found.
org.crosswire.jsword.book.BookException: Book called {0} could not be found.
	at org.crosswire.jsword.book.Defaults.setBibleByName(Defaults.java:147)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.util.Reporter(WARN ) Nothing to listen to report: null
n.config.Config(INFO ) Setting Bibles.Default Dictionary= (was null)
n.config.Config(WARN ) Failure with Bibles.Default Dictionary=
org.crosswire.jsword.book.BookException: Book called {0} could not be found.
	at 
org.crosswire.jsword.book.Defaults.setDictionaryByName(Defaults.java:283)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.config.Config(ERROR) Logger reuse for: org.crosswire.common.config.Config
n.config.Config(WARN ) Book called {0} could not be found.
org.crosswire.jsword.book.BookException: Book called {0} could not be found.
	at 
org.crosswire.jsword.book.Defaults.setDictionaryByName(Defaults.java:283)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.util.Reporter(WARN ) Nothing to listen to report: null
n.config.Config(INFO ) Setting Bibles.Default Commentary= (was null)
n.config.Config(WARN ) Failure with Bibles.Default Commentary=
org.crosswire.jsword.book.BookException: Book called {0} could not be found.
	at 
org.crosswire.jsword.book.Defaults.setCommentaryByName(Defaults.java:215)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.config.Config(ERROR) Logger reuse for: org.crosswire.common.config.Config
n.config.Config(WARN ) Book called {0} could not be found.
org.crosswire.jsword.book.BookException: Book called {0} could not be found.
	at 
org.crosswire.jsword.book.Defaults.setCommentaryByName(Defaults.java:215)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.util.Reporter(WARN ) Nothing to listen to report: null
n.config.Config(INFO ) Setting Bibles.Verses Per Tab=50 (was 50)
n.config.Config(INFO ) Setting Bibles.Raw.Cache Data=True (was True)
n.config.Config(INFO ) Setting Bibles.Sword.Base 
Directory=/Users/pleines/Desktop/karsten/jsword-20030420 (was )
SwordBookDriver(DEBUG) Starting Sword drivers
word.book.Books(DEBUG) begin registering driver: 
org.crosswire.jsword.book.sword.SwordBookDriver
SwordBookDriver(DEBUG) getBooks() empty mods.d does not exist
word.book.Books(DEBUG) end registering driver: 
org.crosswire.jsword.book.sword.SwordBookDriver
n.config.Config(INFO ) Setting Bibles.Remote.Remote Host= (was )
n.config.Config(INFO ) Setting Bibles.Display.Persistent Naming=False 
(was False)
n.config.Config(INFO ) Setting Bibles.Display.Blurring Rules=Chapter 
(was Chapter)
n.config.Config(INFO ) Setting Bibles.Display.Book Case=Sentance (was 
Sentance)
n.config.Config(INFO ) Setting Bibles.Readings=ot1nt2.properties (was 
ot1nt2.properties)
n.config.Config(INFO ) Setting Looks.Look and 
Feel=com.sun.java.swing.plaf.windows.WindowsLookAndFeel (was 
com.apple.mrj.swing.MacLookAndFeel)
n.config.Config(WARN ) Failure with Looks.Look and 
Feel=com.sun.java.swing.plaf.windows.WindowsLookAndFeel
java.lang.IllegalArgumentException: Invalid Look and Feel name
	at 
org.crosswire.common.swing.LookAndFeelUtil.setLookAndFeel(LookAndFeelUtil.java:77)
	at 
org.crosswire.common.swing.LookAndFeelUtil.setLookAndFeel(LookAndFeelUtil.java:61)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.config.Config(ERROR) Logger reuse for: org.crosswire.common.config.Config
n.config.Config(WARN ) Invalid Look and Feel name
java.lang.IllegalArgumentException: Invalid Look and Feel name
	at 
org.crosswire.common.swing.LookAndFeelUtil.setLookAndFeel(LookAndFeelUtil.java:77)
	at 
org.crosswire.common.swing.LookAndFeelUtil.setLookAndFeel(LookAndFeelUtil.java:61)
	at java.lang.reflect.Method.invoke(Native Method)
	at 
org.crosswire.common.config.ReflectedChoice.setString(ReflectedChoice.java:229)
	at org.crosswire.common.config.Config.localToApplication(Config.java:300)
	at 
org.crosswire.jsword.view.swing.desktop.OptionsAction.loadConfig(OptionsAction.java:74)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:112)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
n.util.Reporter(WARN ) Nothing to listen to report: null
n.config.Config(INFO ) Setting Looks.Initial Layout=Single Document 
Interface (was Single Document Interface)
n.config.Config(INFO ) Setting Reports.Exceptions to Dialog Box=True 
(was False)
n.config.Config(INFO ) Setting Reports.Exceptions to Log Window=True 
(was True)
n.config.Config(INFO ) Setting Advanced.Source 
Path=T:\Share\Joe\jsword\java\jsword (was )
n.config.Config(INFO ) Setting Advanced.XSLT.Debug=False (was False)
n.config.Config(INFO ) Setting Advanced.XSLT.Cache=True (was True)
n.config.Config(INFO ) Setting Advanced.Passage.Default Type=Speed 
(Rocket) (was Speed (Rocket))
n.config.Config(INFO ) Settings for priority level=4
n.config.Config(INFO ) Settings for priority level=3
n.config.Config(INFO ) Settings for priority level=2
n.config.Config(INFO ) Settings for priority level=1
n.config.Config(INFO ) Settings for priority level=0
leComboBoxModel(DEBUG) setSelectedItem(Genesis) level=0
leComboBoxModel(DEBUG) setSelectedItem(1) level=1
leComboBoxModel(DEBUG) setSelectedItem(1) level=2
d.util.Resource(WARN ) 
getResource(/toolbarButtonGraphics/general/About24.gif) starts with a /. 
More chance of success if it doesn't
d.util.Resource(DEBUG) 
getResource(/toolbarButtonGraphics/general/About24.gif) = 
file:/Users/pleines/Desktop/karsten/jsword-20030420/resource/toolbarButtonGraphics/general/About24.gif 
using getClass().getResource(search);
d.util.Resource(WARN ) 
getResource(/toolbarButtonGraphics/general/Stop24.gif) starts with a /. 
More chance of success if it doesn't
d.util.Resource(DEBUG) 
getResource(/toolbarButtonGraphics/general/Stop24.gif) = 
file:/Users/pleines/Desktop/karsten/jsword-20030420/resource/toolbarButtonGraphics/general/Stop24.gif 
using getClass().getResource(search);
uterDisplayPane(ERROR) Logger reuse for: 
org.crosswire.jsword.view.swing.book.OuterDisplayPane
uterDisplayPane(WARN )
java.lang.NullPointerException
	at 
org.crosswire.jsword.view.swing.book.OuterDisplayPane.<init>(OuterDisplayPane.java:56)
	at 
org.crosswire.jsword.view.swing.book.BibleViewPane.<init>(BibleViewPane.java:182)
	at 
org.crosswire.jsword.view.swing.desktop.Desktop.ensureAvailableBibleViewPane(Desktop.java:494)
	at org.crosswire.jsword.view.swing.desktop.Desktop.<init>(Desktop.java:177)
	at org.crosswire.jsword.view.swing.desktop.Desktop.main(Desktop.java:84)
desktop.Desktop(DEBUG) desktop main exiting.
leComboBoxModel(DEBUG) setSelectedItem(Exodus) level=0
.CommentaryPane(WARN ) Index: -1, Size: 0
java.lang.IndexOutOfBoundsException: Index: -1, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:486)
	at java.util.ArrayList.get(ArrayList.java:302)
	at java.util.Collections$UnmodifiableList.get(Collections.java:727)
	at 
org.crosswire.jsword.view.swing.book.CommentaryPane.updateDisplay(CommentaryPane.java:139)
	at 
org.crosswire.jsword.view.swing.book.CommentaryPane$1.actionPerformed(CommentaryPane.java:80)
	at 
org.crosswire.jsword.view.swing.book.BibleComboBoxModelSet.fireContentsChanged(BibleComboBoxModelSet.java:139)
	at 
org.crosswire.jsword.view.swing.book.BibleComboBoxModelSet$CustomActionListener.actionPerformed(BibleComboBoxModelSet.java:154)
	at javax.swing.JComboBox.fireActionEvent(JComboBox.java:865)
	at javax.swing.JComboBox.setSelectedItem(JComboBox.java:412)
	at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:450)
	at 
com.apple.mrj.swing.MacComboBoxUI$MacScrollbarComboPopup$ListMouseHandler.mouseReleased(MacComboBoxUI.java:277)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:226)
	at java.awt.Component.processMouseEvent(Component.java:3711)
	at java.awt.Component.processEvent(Component.java:3540)
	at java.awt.Container.processEvent(Container.java:1159)
	at java.awt.Component.dispatchEventImpl(Component.java:2589)
	at java.awt.Container.dispatchEventImpl(Container.java:1208)
	at java.awt.Component.dispatchEvent(Component.java:2493)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2211)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)
	at java.awt.Container.dispatchEventImpl(Container.java:1195)
	at java.awt.Window.dispatchEventImpl(Window.java:966)
	at java.awt.Component.dispatchEvent(Component.java:2493)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)
	at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)
	at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)

###########################

-- 
-------------------------------------------------------------------
Karsten Pleines
KPleines@web.de
Mobil: +49 0179/6785892
Fax:+49 01212-5-104-46-463
______________________________________________________________________________
WEB.DE FreeMail wird 5 Jahre jung! Feiern Sie mit uns und
nutzen Sie die neuen Funktionen http://f.web.de/features/?mc=021130

_______________________________________________
sword-support mailing list
sword-support@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-support