[jsword-devel] I know I'm lazy, but

Mark Goodwin jsword-devel@bibletechnologieswg.org
27 Jul 2002 12:28:01 +0100


I'm having trouble getting the current CVS HEAD to run - it builds
nicely though......

I've got as far as establishing that the URL returned by findBibleRoot()
has a null host, which is a shame because:

(NetUtils)
  public static URL lengthenURL(URL orig, String extra) throws
MalformedURLException
    {
        if (orig.getProtocol().equals("file"))
        {
            return new URL(orig.getProtocol(),
                           orig.getHost(),
                           orig.getPort(),
                           orig.getFile()+File.separator+extra);
        }

=======

Anyway, here's the vomit....

./tools.sh
Failed to find resource
name='/toolbarButtonGraphics/general/Close24.gif'
Failed to find resource
name='/toolbarButtonGraphics/general/Close16.gif'
Failed to find resource
name='/toolbarButtonGraphics/general/CloseAll24.gif'
Failed to find resource
name='/toolbarButtonGraphics/general/CloseAll16.gif'
Failed to find resource name='/toolbarButtonGraphics/general/Exit24.gif'
Failed to find resource name='/toolbarButtonGraphics/general/Exit16.gif'
Jul 27, 2002 11:58:25 AM java.util.prefs.FileSystemPreferences$3 run
WARNING: Could not create system preferences directory. System
preferences are unusable.
getClassRoot()=file:./jsword.jar
looking for Bibles local classpath entry file:./jsword.jar: [Not Found]
looking for Bibles within ./resource: [Not Found]
looking for Bibles within ./crimson.jar: [Not Found]
looking for Bibles within ./jaxp.jar: [Not Found]
looking for Bibles within ./jdom.jar: [Not Found]
looking for Bibles within ./jlfgr-1_0.jar: [Not Found]
looking for Bibles within ./jsword.jar: [Not Found]
looking for Bibles within ./xalan.jar: [Not Found]
Trying Directory.properties in classpath: [Skipping]
Trying /home/mark/.jsword/Directory.properties: [Skipping]
Exception in thread "main" java.lang.ExceptionInInitializerError
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:140)
	at
org.crosswire.jsword.book.BibleDriverManager.class$(BibleDriverManager.java:125)
	at
org.crosswire.jsword.book.BibleDriverManager.<clinit>(BibleDriverManager.java:125)
	at
org.crosswire.jsword.book.sword.SwordBibleDriver.<clinit>(SwordBibleDriver.java:208)
	at
org.crosswire.jsword.book.sword.config.SwordDirChoice.getString(SwordDirChoice.java:40)
	at org.crosswire.common.config.Config.add(Config.java:106)
	at org.crosswire.jsword.view.swing.desktop.Tools.<init>(Tools.java:110)
	at org.crosswire.jsword.view.swing.desktop.Tools.<init>(Tools.java:86)
	at dtools.main(dtools.java:45)
Caused by: java.lang.NullPointerException
	at org.crosswire.common.util.NetUtil.lengthenURL(NetUtil.java:199)
	at
org.crosswire.jsword.book.jdbc.JDBCBibleDriver.<init>(JDBCBibleDriver.java:55)
	at
org.crosswire.jsword.book.jdbc.JDBCBibleDriver.<clinit>(JDBCBibleDriver.java:198)
	... 10 more