Bug#808839: Affects 2.3 as well

Mathieu Malaterre malat at debian.org
Wed Nov 28 09:13:48 GMT 2018


$ fop -xsl ./jlatexmath-fop/examples/latex.xsl -c
./jlatexmath-fop/examples/conf.xml -xml
./jlatexmath-fop/examples/latex_docbook.xml -pdf /tmp/bla.pdf
[INFO] FopConfParser - Default page-height set to: 11in
[INFO] FopConfParser - Default page-width set to: 8.26in
file:/tmp/libjlatexmath-java-1.0.7/./jlatexmath-fop/examples/latex.xsl;
Line #7; Column #78; Had IO Exception with stylesheet file:
/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl
file:/tmp/libjlatexmath-java-1.0.7/./jlatexmath-fop/examples/latex.xsl;
Line #26; Column #119; org.apache.xml.utils.WrappedRuntimeException:
Could not find variable with the name of page.width
[ERROR] FOP - Exception <org.apache.fop.apps.FOPException:
java.lang.NullPointerException
java.lang.NullPointerException>org.apache.fop.apps.FOPException:
java.lang.NullPointerException
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:296)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116)
at org.apache.fop.cli.Main.startFOP(Main.java:186)
at org.apache.fop.cli.Main.main(Main.java:217)
Caused by: java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:279)
... 3 more

---------

java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:279)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116)
at org.apache.fop.cli.Main.startFOP(Main.java:186)
at org.apache.fop.cli.Main.main(Main.java:217)

with:

$ fop -version
FOP Version 2.3



More information about the pkg-java-maintainers mailing list