Hi,

I am using FOp to create PDF documents dynamically. Suddenly it stopped to 
work. I do't know why. The reason is that a instance of the class 
org.apache.fop.apps.Fop can not be created. Why??

The FopFactory an the FOUserAgent are created but not the Fop itself.

Here the code:
private Fop getFop(String format, OutputStream out) throws FOPException {
        if (fop == null) {
                FopFactory fopFactory = FopFactory.newInstance();
                FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
                Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, 
foUserAgent, out);
        }
        return fop;
}

Maybe I changed something unnoticed. A library or something. Debugging the FOP 
shows no problems, the DefaultHandler is build. But the call 

fopFactory.newFop(MimeConstants.MIME_PDF, foUserAgent, out);

does not return anything .... ?????

Thanx for any hints. I am really at a loss....

Steffen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to