[jsword-devel] Help with APIExamples

Tim Hawes trhawes at althusius.net
Wed Dec 20 17:54:28 MST 2017


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?






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20171220/a3c46b4c/attachment.html>


More information about the jsword-devel mailing list