[jsword-devel] Help with APIExamples

DM Smith dmsmith at crosswire.org
Wed Dec 20 21:20:54 MST 2017


I’ll check it out. I think that JSword’s example uses the xslt from BibleDesktop. I’ve been working on that. 

I should move it into JSword. 

— DM Smith


> On Dec 20, 2017, at 7:54 PM, Tim Hawes <trhawes at althusius.net> wrote:
> 
> When trying to run the APIExamples.java for JSword, it throws this exception:
> 
> Exception in thread "main" java.lang.NullPointerException
> at org.crosswire.jsword.util.ConverterFactory.getConverter(ConverterFactory.java:51)
> at com.selfdidactic.APIExamples.readStyledText(APIExamples.java:163)
> at com.selfdidactic.APIExamples.main(APIExamples.java:461)
> 
> It is happening in the readStyledText method where...
> 
> Converter styler = ConverterFactory.getConverter();
> 
> 
> Has JSword changed without updating the API examples?
> 
> 
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20171220/dd71bc40/attachment.html>


More information about the jsword-devel mailing list