cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Error with PDF samples
Date Wed, 11 Oct 2000 22:07:49 GMT
"Schulze, Klaus-Peter" <KSchulze@microstrategy.com> wrote:
>I have installed JDK 1.3, JSDK 2.0, Apache 1.3.12, ApacheJServ 1.1.2 and
>Cocoon 1.8 and the samples are working, only the samples concerning the FO
>PDF-generation doesn´t work, even with my own XML-/XSL-Files where FOP 0.14
>works fine as a standalone application. The error message is as follows:
>
>Error found handling the request.
>	java.lang.NullPointerException
>		at
>org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:266)
>		at org.apache.fop.apps.Driver.buildFOTree(Driver.java:325)
>		at
>org.apache.cocoon.formatter.FO2PDFFormatter.format(FO2PDFFormatter.java:85)
>		at org.apache.cocoon.Engine.handle(Engine.java:375)
>		at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
>		at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>		at
>org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
>		at
>org.apache.jserv.JServConnection.run(JServConnection.java:188)
>		at java.lang.Thread.run(Thread.java:484)
>

That's probably because Cocoon currently ships with FOP0.13 which has a 
different set of image bugs/features/quirks. See the Cocoon FAQ on "how to 
do images with FOP".

Now you might ask "Well why haven't you upgraded it?" The answer is simple - 
only me and Donald and Jeremy are really working on Cocoon 1 at the moment 
(on and off), and I for one (I can't speak for the others) don't know 
whether upgrading the supplied FOP from 0.13 to 0.14 would be an improvement 
or would introduce too many problems. Opinions?



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message