<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div>I am currently trying to get my head around the JSword source. My Java knowledge is not extensive, and in fact, I am working on a Clojure wrapper on the JSword Java source.<br></div><div><br></div><div><br></div><div>The latest JSword code in the git repo fails to build with this message:<br></div><div><br></div><div>Results :<br></div><div><br></div><div>Failed tests:<br></div><div>&nbsp; DwrBridgeMissingAssetsTest.testIndexed:75<br></div><div>&nbsp; DwrBridgeMissingAssetsTest.testSearch:83 expected:&lt;[Exo 5:4, 6:13, 26-27, 7:19, 8:5, 16, 12:1, 16:6, 32:1, Num 14:2, 26:59, 33:1, Jos 24:5, 1Sa 12:6, 8, Mic 6:4, Act 7:40]&gt; but was:&lt;[]&gt;<br></div><div>Tests in error:<br></div><div>&nbsp; LuceneIndexManagerTest.testInstalledVersionEqualToLatestVersion:73-&gt;createOrUpgradeIndex:56 » NoClassDefFound<br></div><div>&nbsp; LuceneIndexManagerTest.testInstalledVersionMetadataFileNotExisting:96 ExceptionInInitializer<br></div><div>&nbsp; FileVersificationMappingTest.testVersifications:71 » NullPointer<br></div><div><br></div><div>Tests run: 769, Failures: 2, Errors: 3, Skipped: 13<br></div><div><br></div><div>If I checkout the JSword 2.1 release, it compiles fine. However, when I compile APIExamples.java and try to run it, I get:<br></div><div><br></div><div>SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".<br></div><div>SLF4J: Defaulting to no-operation (NOP) logger implementation<br></div><div>SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.<br></div><div>The plain text of Gen 1:1 is In the beginning God created the heaven and the earth .<br></div><div>Exception in thread "main" java.lang.NullPointerException<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at org.crosswire.jsword.util.ConverterFactory.getConverter(ConverterFactory.java:51)<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.selfdidactic.sword.App.readStyledText(App.java:162)<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at com.selfdidactic.sword.App.main(App.java:462)<br></div><div><br></div><div><br></div><div>the code in question:<br></div><div><br></div><div>&nbsp;&nbsp;&nbsp; public String readStyledText(String bookInitials, String reference, int maxKeyCount) throws NoSuchKeyException, BookException, TransformerException,<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAXException<br></div><div>&nbsp;&nbsp;&nbsp; {<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Book book = getBook(bookInitials);<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SAXEventProvider osissep = getOSIS(bookInitials, reference, maxKeyCount);<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (osissep == null) {<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return "";<br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br></div><div><br></div><div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Converter styler = ConverterFactory.getConverter();<br></div><div><br></div><div>Any insight on this?<br></div></div></body></html>