<!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> DwrBridgeMissingAssetsTest.testIndexed:75<br></div><div> DwrBridgeMissingAssetsTest.testSearch:83 expected:<[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]> but was:<[]><br></div><div>Tests in error:<br></div><div> LuceneIndexManagerTest.testInstalledVersionEqualToLatestVersion:73->createOrUpgradeIndex:56 » NoClassDefFound<br></div><div> LuceneIndexManagerTest.testInstalledVersionMetadataFileNotExisting:96 ExceptionInInitializer<br></div><div> 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> at org.crosswire.jsword.util.ConverterFactory.getConverter(ConverterFactory.java:51)<br></div><div> at com.selfdidactic.sword.App.readStyledText(App.java:162)<br></div><div> 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> public String readStyledText(String bookInitials, String reference, int maxKeyCount) throws NoSuchKeyException, BookException, TransformerException,<br></div><div> SAXException<br></div><div> {<br></div><div> Book book = getBook(bookInitials);<br></div><div> SAXEventProvider osissep = getOSIS(bookInitials, reference, maxKeyCount);<br></div><div> if (osissep == null) {<br></div><div> return "";<br></div><div> }<br></div><div><br></div><div> Converter styler = ConverterFactory.getConverter();<br></div><div><br></div><div>Any insight on this?<br></div></div></body></html>