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 "LABBE Christophe (INVESTLIFE)" <Ch...@investlife.lu> on 2001/08/17 09:55:09 UTC
Question...
Hi,
I tried to run this simple code and i got a java.lang.NullPointerException
at runtime at the call to the driver constructor!!
Driver driver = new Driver(); // ==> Error
driver.setRenderer(Driver.RENDER_PDF);
driver.setInputSource(new org.xml.sax.InputSource("normal.fo"));
driver.setOutputStream(new FileOutputStream("test.pdf"));
driver.run();
Has anyone encounter this kind of problem?
Thanks.
Regards C. Labbe.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org