httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: NullPointerException when building
Date Fri, 18 May 2007 15:46:04 GMT
* adausti2@ncsu.edu wrote: 

> I get the following when I try to build the docs. Any idea on the cause
> and the fix? (SLES9, Java 1.4.2)
>
> [xslt]
> file:/home/andrew/wrk/httpd-docs-2.0/manual/style/xsl/common.xsl:1087:47:
> Fatal Error! java.lang.NullPointerException Cause:
> java.lang.NullPointerException
>      [xslt] Failed to process
> /home/andrew/wrk/httpd-docs-2.0/manual/mod/quickreference.xml
>
> BUILD FAILED
> /home/andrew/wrk/httpd-docs-2.0/manual/style/lang-targets.xml:58: The
> following error occurred while executing this line:
> /home/andrew/wrk/httpd-docs-2.0/manual/build/build.xml:339: The following
> error occurred while executing this line:
> /home/andrew/wrk/httpd-docs-2.0/manual/build/build.xml:362: Fatal error
> during transformation
>
> Total time: 1 minute 11 seconds

This is likely to be an out of memory issue. You can try tuning the java 
args in build.sh. Currently there's:

ANT_OPTS="-Xmx128m -mx128m"

which runs fine for me. I'm running:

$ java -version
java version "1.4.2-03"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-03)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-03, mixed mode)

nd

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message