Hi,

I have a problem using fop 0.20.1 from the commandline (with jdk1.3 on
w2k). The samples run through fine. When I try to run the whole stream (xml
& xsl -> pdf) I get the error output attached below. When I split out the
processing done by Xalan though (using the version of Xalan packaged with
the binary distro) and then start FOP with the fo file generated by Xalan I
will get the right pdf output.

Since I am only using commandline for stylesheet development and will
switch to embedded later on I would prefer not to be stuck with the
separate calls to Xalan and FOP.
THX
               Axel



Input mode: xslt transformation
xml input file: input.xml
xslt stylesheet: style.xsl
Output mode: pdf
output file: out4.pdf
OPTIONS
no user configuration file is used [default]
debug mode on
dump configuration
quiet mode on
base directory: file:/C:/Data/dev/PrintingDev/
FOP 0.20.1
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
Parsing of document complete, stopping renderer
Initial heap size: 710Kb
Current heap size: 903Kb
Total memory used: 192Kb
  Memory use is indicative; no GC was performed
  These figures should not be used comparatively
Total time used: 125ms
Pages rendererd: 0
javax.xml.transform.TransformerException
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1212)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
---------
java.lang.NullPointerException
        at
org.apache.fop.fo.FOTreeBuilder.characters(FOTreeBuilder.java:140)
        at
org.apache.xalan.transformer.ResultTreeHandler.characters(ResultTreeHandler.java:446)
        at
org.apache.xalan.stree.TextImpl.dispatchCharactersEvent(TextImpl.java:157)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:449)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
ERROR: null
org.apache.fop.apps.FOPException
        at org.apache.fop.apps.Driver.render(Driver.java:429)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:66)
        at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

javax.xml.transform.TransformerException
        at
org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:137)
        at org.apache.fop.apps.Driver.render(Driver.java:424)
        at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:66)
        at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

javax.xml.transform.TransformerException
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1212)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
---------
java.lang.NullPointerException
        at
org.apache.fop.fo.FOTreeBuilder.characters(FOTreeBuilder.java:140)
        at
org.apache.xalan.transformer.ResultTreeHandler.characters(ResultTreeHandler.java:446)
        at
org.apache.xalan.stree.TextImpl.dispatchCharactersEvent(TextImpl.java:157)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:449)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.java:495)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.java:193)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)




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

Reply via email to