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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to