<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">I’ll check it out. I think that JSword’s example uses the xslt from BibleDesktop. I’ve been working on that. <div><br></div><div>I should move it into JSword. <br><br><div>— DM Smith<div><br></div></div><div><br>On Dec 20, 2017, at 7:54 PM, Tim Hawes <<a href="mailto:trhawes@althusius.net">trhawes@althusius.net</a>> wrote:<br><br></div><blockquote type="cite"><div><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"><div style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;"><div>When trying to run the APIExamples.java for JSword, it throws this exception:<br></div><div><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.APIExamples.readStyledText(APIExamples.java:163)<br></div><div>at com.selfdidactic.APIExamples.main(APIExamples.java:461)<br></div><div><br></div><div>It is happening in the readStyledText method where...<br></div><div><br></div><div>Converter styler = ConverterFactory.getConverter();<br></div><div><br></div><div><br></div><div>Has JSword changed without updating the API examples?<br></div><div><br></div><div><br></div></div><br></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>jsword-devel mailing list</span><br><span><a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a></span><br><span><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a></span><br></div></blockquote></div></body></html>