forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brondsema <d...@brondsema.net>
Subject Re: Possible java memory issues with Docbook XSL stylesheets
Date Mon, 12 Jul 2004 17:13:26 GMT

Even though line 44 is where the maxmemory attribute is, the error is
coming from the java task as a whole, not that part of it.  The real
problem is shown in the TraxTransformer stacktrace from core.log.  But I
have no idea what that would be or how to solve it.


On Mon, 12 Jul 2004, Tom Ed White wrote:

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

-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org

Mime
View raw message