Re: Docs failing to build
David Nebauer <[email protected]> Wed, 23 Aug 2006 22:37:26 +0930
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Markus,
>> All of a sudden refdb docs is failing to build. The fop command
>> 'JAVA_OPTS=-Xmx256M fop -fo refdb-manual.fo -pdf refdb-manual.pdf' is
>>
> Interestingly, this is the end of the TOC/LOT/whatever section, but I don't see
> why this should fail. Just to make sure the recent changes to the doc (included
> refdbmanualfig5.svg, replaced some man pages) are not the culprit, you might try
> and checkout an older SVN version and try again. If that also fails, it must be
> the tools.
Build fails the same way with revision 120.
Here is the same failure point but with fop debugging output enabled.
Perhaps someone out there can help dissect the java error:
----------------------------------------------------------------------------------
JAVA_OPTS=-Xmx256M fop -d -fo refdb-manual.fo -pdf refdb-manual.pdf
[DEBUG] Input mode:
[DEBUG] FO
[DEBUG] fo input file: refdb-manual.fo
[DEBUG] Output mode:
[DEBUG] pdf
[DEBUG] output file: refdb-manual.pdf
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory:
file:/home/david/data/computing/projects/refdb/packages/refdb/svn/doc/pkg/debianise/source/refdb-0.0-svn-20060823/doc/
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] property - "background-position-horizontal" is not implemented yet.
<snip.../>
[ERROR] property - "background-position-vertical" is not implemented yet.
[INFO] [1]
[INFO] [2]
[INFO] [3]
[DEBUG] Last page-sequence produced 3 pages.
[INFO] [4]
[INFO] [5]
[INFO] [6]
[INFO] [7]
[DEBUG] Last page-sequence produced 4 pages.
[INFO] [8]
[DEBUG] Last page-sequence produced 1 pages.
[INFO] [9]
[DEBUG] Last page-sequence produced 1 pages.
[ERROR] null
org.apache.fop.apps.FOPException
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111)
at org.apache.fop.apps.Fop.main(Fop.java:62)
---------
java.lang.NullPointerException
at
org.apache.fop.fo.PropertyManager.getTextDecoration(PropertyManager.java:365)
at org.apache.fop.fo.FObjMixed.<init>(FObjMixed.java:72)
at org.apache.fop.fo.flow.Block.<init>(Block.java:115)
at org.apache.fop.fo.flow.Block$Maker.make(Block.java:79)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:352)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
at org.apache.fop.apps.Fop.main(Fop.java:62)
---------
java.lang.NullPointerException
at
org.apache.fop.fo.PropertyManager.getTextDecoration(PropertyManager.java:365)
at org.apache.fop.fo.FObjMixed.<init>(FObjMixed.java:72)
at org.apache.fop.fo.flow.Block.<init>(Block.java:115)
at org.apache.fop.fo.flow.Block$Maker.make(Block.java:79)
at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:352)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
at org.apache.fop.apps.Fop.main(Fop.java:62)
make[2]: *** [refdb-manual.pdf] Error 2
----------------------------------------------------------------------------------
Regards,
David.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642