I have compiled successfully FOP-1.0dev from CVS sources.
Then I run these tests:


1) ------------------------------ From FO to
PDF ------------------------------

fop -d -fo docs\examples\fo\simple.fo -pdf simple.pdf

The resulting output is:

[DEBUG]: Input mode:
[DEBUG]: FO
[DEBUG]: fo input file: docs\examples\fo\simple.fo
[DEBUG]: Output mode:
[DEBUG]: pdf
[DEBUG]: output file: simple.pdf
[DEBUG]: OPTIONS
[DEBUG]: no user configuration file is used [default]
[DEBUG]: debug mode on
[DEBUG]: dump configuration
[DEBUG]: quiet mode on
[INFO]: FOP 1.0dev
[INFO]: building formatting object tree
[DEBUG]: fo:block: handleWhiteSpace
[DEBUG]: fo:block: handleWhiteSpace
[DEBUG]: fo:block: handleWhiteSpace
null
org.apache.fop.apps.FOPException
 at org.apache.fop.apps.Driver.render(Driver.java:466)
 at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72)
 at org.apache.fop.apps.Fop.main(Fop.java:17)

---------

java.lang.NullPointerException
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
 at org.apache.fop.apps.Driver.render(Driver.java:461)
 at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72)
 at org.apache.fop.apps.Fop.main(Fop.java:17)

---------

java.lang.NullPointerException
 at
org.apache.fop.layoutmgr.PageLayoutManager.makeNewPage(PageLayoutManager.jav
a:140)
 at
org.apache.fop.layoutmgr.PageLayoutManager.getParentArea(PageLayoutManager.j
ava:176)
 at
org.apache.fop.layoutmgr.FlowLayoutManager.getParentArea(FlowLayoutManager.j
ava:49)
 at
org.apache.fop.layoutmgr.BlockLayoutManager.getParentArea(BlockLayoutManager
.java:82)
 at
org.apache.fop.layoutmgr.LineLayoutManager.createLine(LineLayoutManager.java
:98)
 at
org.apache.fop.layoutmgr.LineLayoutManager.addChild(LineLayoutManager.java:1
22)
 at
org.apache.fop.layoutmgr.LeafNodeLayoutManager.flush(LeafNodeLayoutManager.j
ava:34)
 at
org.apache.fop.layoutmgr.TextLayoutManager.generateAreas(TextLayoutManager.j
ava:45)
 at
org.apache.fop.layoutmgr.LineLayoutManager.generateAreas(LineLayoutManager.j
ava:58)
 at
org.apache.fop.layoutmgr.BlockLayoutManager.generateAreas(BlockLayoutManager
.java:59)
 at
org.apache.fop.layoutmgr.AbstractLayoutManager.generateAreas(AbstractLayoutM
anager.java:44)
 at
org.apache.fop.layoutmgr.AbstractLayoutManager.generateAreas(AbstractLayoutM
anager.java:44)
 at
org.apache.fop.layoutmgr.PageLayoutManager.run(PageLayoutManager.java:66)
 at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:332)
 at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:195)
 at org.apache.fop.fo.pagination.PageSequence.end(PageSequence.java:281)
 at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:112)
 at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
 at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator
.java:1480)
 at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XM
LDocumentScanner.java:1204)
 at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
 at org.apache.fop.apps.Driver.render(Driver.java:461)
 at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:72)
 at org.apache.fop.apps.Fop.main(Fop.java:17)

2) ------------------------------ From FO to
AWT ------------------------------

fop -d -fo docs\examples\fo\simple.fo -awt

The resulting output is:

[DEBUG]: Input mode:
[DEBUG]: FO
[DEBUG]: fo input file: docs\examples\fo\simple.fo
[DEBUG]: Output mode:
[DEBUG]: awt on screen
[DEBUG]: OPTIONS
[DEBUG]: no user configuration file is used [default]
[DEBUG]: debug mode on
[DEBUG]: dump configuration
[DEBUG]: quiet mode on
AWTStarter could not be loaded.
org.apache.fop.apps.FOPException: AWTStarter could not be loaded.
 at
org.apache.fop.apps.CommandLineOptions.getStarter(CommandLineOptions.java:43
1)
 at org.apache.fop.apps.Fop.main(Fop.java:16)

---------

java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
 at org.apache.fop.apps.AWTStarter.getResourceBundle(AWTStarter.java:156)
 at org.apache.fop.apps.AWTStarter.init(AWTStarter.java:81)
 at org.apache.fop.apps.AWTStarter.<init>(AWTStarter.java:59)
 at java.lang.reflect.Constructor.newInstance(Native Method)
 at
org.apache.fop.apps.CommandLineOptions.getStarter(CommandLineOptions.java:42
4)
 at org.apache.fop.apps.Fop.main(Fop.java:16)

---------

java.lang.NullPointerException
 at org.apache.fop.apps.AWTStarter.getResourceBundle(AWTStarter.java:156)
 at org.apache.fop.apps.AWTStarter.init(AWTStarter.java:81)
 at org.apache.fop.apps.AWTStarter.<init>(AWTStarter.java:59)
 at java.lang.reflect.Constructor.newInstance(Native Method)
 at
org.apache.fop.apps.CommandLineOptions.getStarter(CommandLineOptions.java:42
4)
 at org.apache.fop.apps.Fop.main(Fop.java:16)


----------------------------------------------------------------------------
---

It seems to be two different errors! These problems are found before some
days.


Matteo Di Giovinazzo



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

Reply via email to