Hello,

I spent some time playing with the ANT_OPTS line you indicated but to no
avail. I tried both higher and lower values but I still get build failures
with NullPointerExceptions. Oddly enough it always fails on directives.xml
and then on the second build attempt it fails on quickreference.xml. (i.e.
it takes me calling build.sh three times to build the the complete
docs...) When I remove the ANT_OPTS line my system just hangs.

Is there any other solution?

For reference...

$ java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build (JIT enabled: jitc))

> * [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to