xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ma, Liang" <Liang...@space.gc.ca>
Subject RE: fo failed to process Unicode CJK in servlet
Date Tue, 09 Nov 2004 16:37:39 GMT
But I checked the jar file against class loader order, couldn't find any
clues yet.

Thank you Pietschmann for your help. 


Liang MA
Software Analyst
--------------------------------------------------
RADARSAT Mission Control Centre
6767, route de l'Aeroport
Saint-Hubert, Quebec
J3Y 8Y9 Canada
Tel: (450) 926-5099
Fax: (450) 926-5127
---------------------------------------------------




-----Original Message-----
From: J.Pietschmann [mailto:j3322ptm@yahoo.de]
Sent: November 6, 2004 6:27 AM
To: fop-user@xml.apache.org
Subject: Re: fo failed to process Unicode CJK in servlet


Ma, Liang wrote:
> Now here is another minor problem. Every time when I first run the servlet
> to generate a pdf file after rebooting tomcat or leaving it for a couple
of
> days, it gives me the following exception. Then I run it again, it works
> fine. Looks like there is something missing to initialize fop in my
servlet.
> root cause 
> 
> java.lang.NullPointerException
> 	at org.apache.fop.apps.Service.providers(Driver.java:597)

Ah, the dreaded class loader problem.
Actually, I don't understand class loading in web apps well enough
to point you to a solution. You might ask this on an appropriate
Tomcat list (be prepared for getting flamed for using code which
is not "web app ready")

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message