cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Breiter, Andreas" <Andreas.Brei...@t-systems.com>
Subject Problems with FOP 0.20.3rc and Cocoon2
Date Wed, 20 Feb 2002 16:52:03 GMT
Hi,

the current version 0.20.3rc of FOP (which is used by Cocoon2) seems to have
some problems. It's not even possible to transform its own glossary-example
(docs/examples/markers) correctly. I think that's why I have some trouble
with fo2pdf in Cocoon:

fop -xml docs\examples\markers\glossary.xml -xsl
docs\examples\markers\glossary.xsl -pdf x.pdf
java -cp
build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\ava
lon-framework-4.0.jar;lib\logkit-1.0b4.jar;lib\jimi-1.0.jar
org.apache.fop.apps.Fop -xml docs\examples\markers\glossary.xml -xsl
docs\examples\markers\glossary.xsl -pdf x.pdf

[INFO]: FOP 0.20.3rc
[INFO]: building formatting object tree
[INFO]: [1]
[INFO]: Parsing of document complete, stopping renderer
javax.xml.transform.TransformerException
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava: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.FObjMixed.addCharacters(FObjMixed.java:47)
        at
org.apache.fop.fo.FOTreeBuilder.characters(FOTreeBuilder.java:166)
        at
org.apache.xalan.transformer.ResultTreeHandler.characters(ResultTreeHandler.
java:446)
        at
org.apache.xalan.stree.TextImpl.dispatchCharactersEvent(TextImpl.java:157)
        at
org.apache.xalan.stree.Parent.dispatchCharactersEvent(Parent.java:466)
        at
org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:279)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
739)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
739)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:495)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:193)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
739)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:495)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:193)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
739)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
739)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:
739)
        at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va:495)
        at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:193)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
[ERROR]: null

First I used the binary release, but compiling the sources on my own didn't
change anything.

Hope someone has any idea how to fix this ...

Andreas

P.S.: I'm using JDK 1.3.0 on Windows NT 4/SP5

Andreas Breiter
T-Systems GEI mbH
Flughafensysteme
Hausanschrift: Pascalstra├če 8, 52076 Aachen
Postanschrift: Postfach 500 144, 52085 Aachen
Telefon: +49 (2408) 943-1114
Telefax: +49 (2408) 943-1430
E-Mail: mailto:Andreas.Breiter@t-systems.com
Internet: http://www.t-systems.de



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message