RE: Need help deciphering NullPointerException from FOP

2003-11-13 Thread Jeremy Nix
MAIL PROTECTED] (513) 621-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 h

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 precompil

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 Jeremy Nix
vices, LTD. [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

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 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 bei

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 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: &quo

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 regarding properties implementions

2002-11-27 Thread Peter B. West
Oleg Tkachenko wrote: sri vela wrote: I would like to know what are the properties that people are working on. I don't think the list exist. Almost all unimplemented properties require some kind of redesign of the code base, and that's exactly what we are working on. The reason why i am ask

Re: need help regarding properties implementions

2002-11-27 Thread Oleg Tkachenko
sri vela wrote: I would like to know what are the properties that people are working on. I don't think the list exist. Almost all unimplemented properties require some kind of redesign of the code base, and that's exactly what we are working on. The reason why i am asking is because i am also

Re: need help about adding fonts

2002-01-24 Thread Jeremias Maerki
Tony You've probably added an "embed-file" attribute in the user config file. This embeds the font in the PDF. Just remove it and your PDF should shrink again. Not embedding a font means that the viewer of the PDF will have to have the particular font installed on his system. But why do you go t

Re: need help

2001-12-12 Thread Cyril Rognon
Keiron, I would gladly share this info in order to contribute to FOP. here is the last transcript from FOP : [DEBUG]: Initial heap size: 1828Kb [DEBUG]: Current heap size: 127392Kb [DEBUG]: Total memory used: 125564Kb [DEBUG]: Memory use is indicative; no GC was performed [DEBUG]: These figu

Re: need help

2001-12-12 Thread Keiron Liddle
On 2001.12.12 16:11 Nicola Ken Barozzi wrote: > Are there any discussions on how to reorganize fop on a more scalable > framework? > Maybe going to SAX or other internal representations? > Sorry for the questions, I'm not able to check the list arcives right > now. Yes there have been. This is im

Re: need help

2001-12-12 Thread Cyril Rognon
Keiron, Maybe Ed went a little too far about this. of course I do not request immediate magical memory solution that would enable me to generate my pdf on a cell phone :) I have read in this list that some people have 200+ pages documents with low memory footprint (around 20-50 Mo). I just wa

Re: need help

2001-12-12 Thread Nicola Ken Barozzi
- Original Message - From: "Keiron Liddle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 3:54 PM Subject: Re: need help > While that is true there are certain things you need to realise. > - there are serious layout issu

RE: need help

2001-12-12 Thread Branham, Paul
The best way to do this is by using a smaller page region. I don't remember the exact instructions, but if you look through the message archive you will see this explained in detail. Paul Branham [EMAIL PROTECTED] 24/7 Media, Inc. Phone:(301)897-7722 -Original Message- From: Cyril Rogn

Re: need help

2001-12-12 Thread Keiron Liddle
On 2001.12.12 15:39 Ed Howland wrote: > In researching this, I found the "Driver.setBufferFile(File buf)" method. > I've > set this, but it doesn't seem to work. There are no Javadocs on it. I've > looked > at the code but I don't think its being actively called by the renderer. > > Does anybody

Re: need help

2001-12-12 Thread Ed Howland
I have the same problem but I could not easily change the XSLT to generate different page sequences. (The data is tables from a DB that go into a report.) However, since the PDFs are to be viewed only online, I split the input (with position()) and generate multiple page sets. That way no one PDF