You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Ma...@synthesis.de on 2001/04/18 15:09:08 UTC
Error using print - option
Hi,
I am starting FOP from the commandline with...
fop -fo normal.fo -print
...and I get the following output
FOP 0.19.0-CVS
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
formatting FOs into areas
[1ERROR: null
I traced it down to the following null-pointer-excpetion:
java.lang.NullPointerException
at
org.apache.fop.render.awt.AWTFontMetrics.setFontAWTFontMetrics.java:246)
at
org.apache.fop.render.awt.AWTFontMetrics.getAscenderAWTFontMetrics.java:152)
at
org.apache.fop.render.awt.FontMetricsMapper.getAscenderFontMetricsMapper.java:115)
at org.apache.fop.layout.FontState.getAscender(FontState.java:79)
at org.apache.fop.layout.LineArea.<init>(LineArea.java:155)
at org.apache.fop.layout.BlockArea.start(BlockArea.java:232)
at org.apache.fop.fo.flow.Block.layout(Block.java:351)
at
org.apache.fop.fo.flow.StaticContent.layout(StaticContent.java:116)
at
org.apache.fop.fo.pagination.PageSequence.layoutStaticContentPageSequence.java:402)
at
org.apache.fop.fo.pagination.PageSequence.formatStaticContentPageSequence.java:378)
at
org.apache.fop.fo.pagination.PageSequence.formatPageSequence.java:296)
at org.apache.fop.fo.pagination.Root.format(Root.java:128)
at org.apache.fop.fo.FOTreeBuilder.format(FOTreeBuilder.java:299)
at org.apache.fop.apps.Driver.format(Driver.java:440)
at
org.apache.fop.apps.PrintCommandLine.main(PrintCommandLine.java:80)
Is this a known problem or has anyone a clue what I am missing?
Mathias
----------------------------------------------------------
Mathias Rügner
synthesis GmbH
Schockenriedstrasse 8 b
70565 Stuttgart, Germany
mail: mathias.ruegner@synthesis.de
phone: +49 711 90680 0
fax: +49 711 90680 66
web: www.synthesis.de
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: Error using print - option
Posted by Arved Sandstrom <Ar...@chebucto.ns.ca>.
At 09:35 AM 4/19/01 +1000, Daniel Bradby wrote:
>
>I submitted a patch for this a while ago and it still hasn't been picked
>up yet. Please commiters!
>
>> I get the same error for "-print" option with FOP
>> 0.18.1!
>>
Duly noted. I'll make a point of doing this tomorrow. I started just now - I
happen to be temporarily on Windows, and tried doing it there, and gave up
in disgust. I have no idea how you guys on Windows apply patches.
Regards,
Arved
Fairly Senior Software Type
e-plicity (http://www.e-plicity.com)
Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: Error using print - option
Posted by Daniel Bradby <db...@bigpond.net.au>.
I submitted a patch for this a while ago and it still hasn't been picked
up yet. Please commiters!
> I get the same error for "-print" option with FOP
> 0.18.1!
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org
Re: Error using print - option
Posted by hoang nam nguen <nn...@yahoo.fr>.
I get the same error for "-print" option with FOP
0.18.1!
NAM NGUYEN
Business Document
FRANCE
--- Mathias.Ruegner@synthesis.de a écrit : >
> Hi,
> I am starting FOP from the commandline with...
>
> fop -fo normal.fo -print
>
> ...and I get the following output
>
> FOP 0.19.0-CVS
> using SAX parser
> org.apache.xerces.parsers.SAXParser
> building formatting object tree
> setting up fonts
> formatting FOs into areas
> [1ERROR: null
>
___________________________________________________________
Do You Yahoo!? -- Pour dialoguer en direct avec vos amis,
Yahoo! Messenger : http://fr.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org