> And you don't have that problem when running FOP from the command line? No, the file is converted properly. > Could you try to rebuild FOP with debug info on (see build.xml, > properties). You then get line numbers in stacktraces so it's simpler to > identify the problem. > > And you have relatively new versions of Xerces and Xalan, right?
Yes, Xalan 2.3.1 and Xerces 2.2.1, that come with the FOP distribution. Thanks for your advice. I´ll check it. Matthias > > On 22.11.2002 15:08:58 Matthias Kr�uter wrote: > > Hello, > > > > I´ve got a problem with rendering an fo-file to pdf using an embedde > d Fop. > > > > > > I get the following exceptions. > > > > [reports] [INFO] building formatting object tree > > [reports] [DEBUG] setting up fonts > > [reports] [ERROR] Unknown formatting object null^null > > > > BUILD FAILED > > java.lang.NullPointerException > > at org.apache.fop.fo.FOTreeBuilder.startElement(Unknown Source) > > at org.apache.fop.tools.DocumentReader.parse(Unknown Source) > > at org.apache.fop.apps.Driver.render(Unknown Source) > > > > I tried out the hints in the list, but none of them really worked. I´ > ;m > > using FOP 0.20.4 with included Xalan and Xerces and Xerces Namespace-Awar > eness > > set explicitly to 'true'. > > > > My fo-File looks like that: > > > > <?xml version="1.0" encoding="UTF-8" standalone="no"?> > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > > <fo:layout-master-set> > > ... > > </fo:root> > > > > Does someone know what I´m doing wrong? > > > Jeremias Maerki > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
