Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Chris Bowditch
From: Jeremy Nix [EMAIL PROTECTED] This NullPointerException appears to be coming from with the FOP internals, but I'm unsure of what the actual cause is. I was not receiving this problem until I recently switched from XSLT to XSLTC, and the problem does not always arise. I'm caching both my

RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
Southwest Financial Services, LTD. [EMAIL PROTECTED] (513) 621-6699 ext.1158 -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 9:05 AM To: [EMAIL PROTECTED] Subject: Re: Need help deciphering NullPointerException from FOP From: Jeremy

RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Chris Bowditch
From: Jeremy Nix [EMAIL PROTECTED] Yes, it is a multithreaded environment. Fop version: 0.20.5 JDK version: 1.4.1_01 O/S: Win2000 So would this be caused by 2 threads using the same instance of a Driver, or 2 threads using the same instance of a compiled template, or something else? It doesnt

Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
Chris Bowditch wrote: Not 100% certain that configuration is the problem, It is: the exception is thrown in the code which reads user fonts from the config file. All relevant methods on the Driver are synchronized, as well as the static image functions, they can't cause trouble any more (except

Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
Jeremy Nix wrote: Yes, it is a multithreaded environment. See http://xml.apache.org/fop/embedding.html#multithreading J.Pietschmann

RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
. [EMAIL PROTECTED] (513) 621-6699 ext.1158 -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 4:10 PM To: [EMAIL PROTECTED] Subject: Re: Need help deciphering NullPointerException from FOP Jeremy Nix wrote: Yes, it is a multithreaded

Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
J.Pietschmann wrote: It is: the exception is thrown in the code which reads user fonts from the config file. Ow - scratch that. The exception originates while writing font ressources to the PDF. But I still think it's a problem with overwriting the configuration. J.Pietschmann

Re: Need help deciphering NullPointerException from FOP

2003-11-13 Thread J.Pietschmann
Jeremy Nix wrote: I've reviewed the steps here (many times), and I pool a number of Driver objects for my rendering. The important question is: how do you handle Configuration? Do you call new Configuration() more than once? The only conclusion I could come up with was something with the

RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
-6699 ext.1158 -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Thursday, November 13, 2003 5:01 PM To: [EMAIL PROTECTED] Subject: Re: Need help deciphering NullPointerException from FOP Jeremy Nix wrote: I've reviewed the steps here (many times), and I pool