Return-Path: Delivered-To: apmail-httpd-docs-archive@www.apache.org Received: (qmail 37145 invoked from network); 21 May 2007 14:52:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 May 2007 14:52:05 -0000 Received: (qmail 76931 invoked by uid 500); 21 May 2007 14:52:10 -0000 Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 76887 invoked by uid 500); 21 May 2007 14:52:10 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: docs@httpd.apache.org List-Id: Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 76868 invoked by uid 99); 21 May 2007 14:52:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 07:52:09 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [152.1.227.222] (HELO uni22wi.unity.ncsu.edu) (152.1.227.222) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 May 2007 07:52:01 -0700 Received: from uni22wi.unity.ncsu.edu (localhost.localdomain [127.0.0.1]) by uni22wi.unity.ncsu.edu (8.12.11.20060308/8.12.11) with ESMTP id l4LEpcMi026273 for ; Mon, 21 May 2007 10:51:38 -0400 Received: (from nobody@localhost) by uni22wi.unity.ncsu.edu (8.12.11.20060308/8.12.11/Submit) id l4LEpclW026271; Mon, 21 May 2007 10:51:38 -0400 X-Authentication-Warning: uni22wi.unity.ncsu.edu: nobody set sender to adausti2@ncsu.edu using -f Received: from 129.33.49.251 (SquirrelMail authenticated user adausti2) by webmail.ncsu.edu with HTTP; Mon, 21 May 2007 10:51:38 -0400 (EDT) Message-ID: <55536.129.33.49.251.1179759098.squirrel@webmail.ncsu.edu> In-Reply-To: <200705181746.04873.nd@perlig.de> References: <1179500532.75532.ezmlm@httpd.apache.org> <16096.129.33.49.251.1179500994.squirrel@webmail.ncsu.edu> <200705181746.04873.nd@perlig.de> Date: Mon, 21 May 2007 10:51:38 -0400 (EDT) Subject: Re: NullPointerException when building From: adausti2@ncsu.edu To: docs@httpd.apache.org User-Agent: SquirrelMail/1.4.9a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org 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