Hi,

I am writing a web-based application that serves dynamic reports (amongst
other things). The bulk of the processing is done within a Cocoon
environment, using the following set of components:

Cocoon 2.0.4 distribution
jfreechart-0.9.6.jar (www.jfree.org)
jcommon-0.7.2.jar (www.jfree.org)
fins-0.1.0.jar (from sidimar.ipzs.it - it's a Cocoon integration package for
JFreeCharts)
fop-0.20.5rc3a.jar
batik.jarrom the above fop -bin package)
avalon-framework-cvs-20020806.jar

So, my problem is that a NullPointerException is thrown within FOP (and
caught / swallowed) when processing my charts. The message in the logs is:

ERROR   (2003-05-26) 17:25.10:531   [cocoon.m]
(/cocoon/n13/mfi/mfi-list.report) ExecuteThread: '10' for queue:
'default'/PDFRenderer: svg graphic could not be built: null
java.lang.NullPointerException
        <<no stack trace available>>


I cannot include the full xsl:fo (legal / size reasons), but the pertinent
fragent is attached. The fragment two <fo:instream-foreign-object/>s to test
the overall generation. The first one displays without any issues. 
The second one is the one causing issues. However, the SVG embedded is
correctly rendered by Adobe SVG viewer, and also converts correctly to a
JPEG using Batik - hence the conclusion that this is a FOP issue.

Has anyone come across this before, or can someone please point me in the
correct direction.
Many thanks,

Adrian




Any e-mail message from the European Central Bank (ECB) is sent in good faith 
but shall neither be binding nor construed as constituting a commitment by the 
ECB except where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately 
via e-mail and delete this e-mail from your system.

Attachment: fop-svg-issue.xml
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to