httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adaus...@ncsu.edu
Subject Re: NullPointerException when building
Date Mon, 21 May 2007 14:51:38 GMT
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))

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


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


Mime
View raw message