Re: NullPointerException while printing

2006-09-12 Thread flyingscot
Jeremias Maerki-2 wrote: > > That seems to be a bug in ExampleFO2OldStylePrint.java. If you > instantiate the Renderer yourself, you also have to set the user agent. > See additional line below. Sorry for the trouble. > Thank you, it runs perfectly... Jeremias Maerki-2 wrote: > > Well, a b

No element mapping found

2006-09-08 Thread flyingscot
Hi! I have a strange problem: My java software uses embedded FOP. Sometimes the rendering process comes to an exception: org.apache.fop.apps.FOPException: Error (0/0): No element mapping definition found for fo:root The strange thing is: this problem only occure under Windows XP, under Linux ev

NullPointerException while printing

2006-09-06 Thread flyingscot
Hello! I have some problems embedding FOP 0.92b with an overridden Print-Renderer, similar to the ExampleFO2OldStylePrint.java example. Her is my simplified sourcecode: class printFO { public static void main(String[] args) { try { PrinterJob printerJob = PrinterJob