Closed mikes222 closed 4 years ago
This is the source around the NullpointerException:
Transformer transformer = factory.newTransformer(new StreamSource(configPath.resolve("docbook-config/fo-pdf.xsl").toFile()));
transformer.setParameter("highlight.xslthl.config", configPath.resolve("docbook-config/xslthl-config.xml").toUri().toASCIIString());
transformer.setParameter("admon.graphics.path", configPath.resolve("docbook/images/").toUri().toASCIIString());
transformer.setParameter("callout.graphics.path", configPath.resolve("docbook/images/callouts/").toUri().toASCIIString());
configPath
should resolve to the installation directory. Though all mentioned files are available in the installation directory, the pdf conversion is still not working. I tried to uninstall and reinstall asciidocfx and voilá, it works again.
Problem solved.
After the latest Windows 10 update AsciidocFx is not able to convert even the simplest text to PDF. This is the error message:
The temp-file is successfully and fully created.
AsciiDocFX 1.7.1
Any help would be appreciated. Do you need some more infos?