Re: Docs failing to build

David Nebauer <[email protected]> Fri, 25 Aug 2006 00:14:23 +0930
Newsgroups gmane.text.refdb.devel
Message-ID <[email protected]>
Hi Markus,

> [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)
>   

I've found reports of a similar error here: 
<http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200302.mbox/%[email protected]%3e>.  
In that instance the advice given was:

    This means you have content outside a flow, which is
    illegal. This should not happen. Upgrade your DocBook XSL,
    be sure your DocBook docs validate, and complain on the
    DocBook list if this persists.

A few other references suggest this error is caused by invalid
docbook xml.  I've attempted to validate the produced refdb-manual-xml
file with xmllint but am unable to do so successfully.  I'll send
you a copy off-list to see if you can validate it.

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