java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.docx4j.openpackaging.parts.WordprocessingML.StyleDefinitionsPart.getCss()' on a null object reference
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.stylesToCSS(XHTMLImporterImpl.java:460)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.getRenderer(XHTMLImporterImpl.java:271)
at org.docx4j.convert.in.xhtml.XHTMLImporterImpl.convert(XHTMLImporterImpl.java:663)
Hi I'm trying to convert html to docx on android
My dependencies definition (.gradle):
Code:
Error:
PLEASE HELP :)