forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Ed White" <to...@barq.itsco.com>
Subject Possible java memory issues with Docbook XSL stylesheets
Date Mon, 12 Jul 2004 08:41:18 GMT
Hi,

I have a docbook document pointing to the docbook XSL stylesheets that is
generating a javaNullPointer error when I run "forrest build". This is on
a machine with about 200M of memory and about the same amount of swap. I
have "forrest.maxmemory" set to 250M in "forrest.properties" I am running
current 0.6 build with JRE/JDK 1.4.1 on a Debian Linux system. The final
message in the build process is:

BUILD FAILED
/home/tomed/its/forrest/src/core/targets/site.xml:44: Java returned: 1

Line 44 in site.xml is:

maxmemory="${forrest.maxmemory}"

The docbook document renders just fine using the default Forrest docbook
stylesheets. I only have problems when I modify forrest.xmap to use Norman
Walsh's stylesheets. I have also tried to build under 0.51, with similar
results, except that the core.log file complains about a different
stylesheet.

Here's a short excerpt from core.log. I can include the entire file if
needed:

FATAL_E (2004-07-12) 12:23.39:048   [core.xslt-processor] (Unknown-URI)
Unknown
-thread/TraxErrorHandler: Error in TraxTransformer:
file:/usr/share/xml/docbook
/stylesheet/nwalsh/html/graphics.xsl; Line 620; Column 41;
; SystemID:
file:/usr/share/xml/docbook/stylesheet/nwalsh/html/graphics.xsl; Li
ne#: 620; Column#: 41
javax.xml.transform.TransformerException: java.lang.NullPointerException
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(T
ransformerImpl.java:2341)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResu
lt.java:682)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(T
ransformerImpl.java:2336)

Thanks,
Tom Ed White



Mime
View raw message