Hello Benjamin,
your Stacktrace looks like one of mine a few weeks ago. Oleg Tkachenko pointed me to change:
<xsl:value-of select="@data"/>
<fo:block/>
<xsl:value-of select="@bindata"/>
to this (which is roughly equivalent):
<fo:block><xsl:value-of select="@data"/></fo:block>
<fo:block><xsl:value-of select="@bindata"/></fo:block>
That was the solution for my problem. Maybe you can check if there is something like that with your files ...
Matthias
Benjamin Wischek wrote:
Hi Chris!
Sorry, I got your mail when I was at home, so I couldn't mail you back with the wanted information.
So here it is. I added the svg from Krysalis and a text-file with the exception as attachment.
BTW: I started FOP from the command line...
Greetings, Ben
------------------------------------------------------------------------
[ERROR] java.lang.NullPointerException org.apache.fop.apps.FOPException: java.lang.NullPointerException at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) at org.apache.fop.apps.Fop.main(Fop.java:62)
---------
java.lang.RuntimeException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433) at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134) at org.apache.fop.apps.Driver.render(Driver.java:498) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) at org.apache.fop.apps.Fop.main(Fop.java:62)
---------
java.lang.RuntimeException: java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170) at org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433) at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134) at org.apache.fop.apps.Driver.render(Driver.java:498) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106) at org.apache.fop.apps.Fop.main(Fop.java:62)
------------------------------------------------------------------------
<?xml version="1.0"?> <svg:svg xmlns:svg="http://www.w3.org/2000/svg" height="15mm" width="36.67mm"> <svg:g style="fill:black; stroke:none"> <svg:rect height="12.1781mm" width="0.19mm" x="1.9mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="2.565mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="2.945mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="3.61mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="4.275mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="4.655mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="5.035mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="5.7mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="6.365mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="7.03mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="7.41mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="8.075mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="8.74mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="9.12mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="9.5mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="10.165mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="10.545mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="11.495mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="11.875mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="12.255mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="12.92mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="13.585mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="14.535mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="14.915mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="15.295mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="15.675mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="16.055mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="16.72mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="17.385mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="17.765mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="18.43mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="19.095mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="19.76mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="20.425mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="20.805mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="21.185mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="21.565mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="22.515mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="23.18mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="23.56mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="23.94mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="24.32mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="24.985mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="25.365mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="26.03mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="26.695mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="27.36mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="28.025mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="28.405mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="29.07mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="29.45mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="29.83mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="30.78mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="31.16mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="31.825mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="32.205mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="32.87mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="33.25mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.475mm" x="33.915mm" y="0mm"/> <svg:rect height="12.1781mm" width="0.19mm" x="34.58mm" y="0mm"/> <svg:text style="font-family:Helvetica; font-size:8.0pt; text-anchor:middle" x="18.335mm" y="14.4356mm">0123456789</svg:text> </svg:g> </svg:svg>
------------------------------------------------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
