You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/01/07 22:54:25 UTC
DO NOT REPLY [Bug 5727] New: -
Rendering crashes on 1st run
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5727>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5727
Rendering crashes on 1st run
Summary: Rendering crashes on 1st run
Product: Fop
Version: all
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: pdf renderer
AssignedTo: fop-dev@xml.apache.org
ReportedBy: hbal@iventurelab.com
I have written a java class that contains the following snippet to generate PDFs
Starter starter = options.getStarter();
driver.setRenderer(Driver.RENDER_PDF);
driver.getRenderer().setOptions(options.getRendererOptions());
driver.run();
This snippet is called from another class which generates PDFs in groups of 3.
However on most occasions, the 1st PDF creation fails. So only 2 PDFs are
created.
1. Shuffling the order of creation does not solve the problem, so the problem
is not specific to a particular file.
2. Creating more PDFs doesnt change the problem, only the first one fails.
3. The first PDF creation does not always fail though. It only fails about half
the times.
I suspect the problem may be related to multiple instances of the driver
running at the same time since I dont reuse the same driver but create new ones
each time.
Any ideas?
Thanks,
Hrishi
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org