Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 19746 invoked by uid 500); 22 Jun 2001 14:20:12 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 19678 invoked from network); 22 Jun 2001 14:20:09 -0000 Message-ID: <20010622142007.26028.qmail@web12806.mail.yahoo.com> Date: Fri, 22 Jun 2001 07:20:07 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: [C2][Patch]AbstractSitemap To: cocoon-dev@xml.apache.org In-Reply-To: <20010622160041.542f5d09.steffen@smb-tec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Steffen, The sources don't match. Please re-submit the patch against the latest AbstractSitemap.java from CVS. Thanks, dims --- Steffen Stundzig wrote: > Hi, > > if I wish to replace a key in the sitemap with the normal sitemap substition > mechanism and the key doesn't exists in the current substitution maps I get an > NullPointerException. > > The reason is, that the method toString() is called on the return value of the > map, but it's not checked, if this is null. > > Regards > Steffen... > > -- > ______________________________________________________________________ > Steffen Stundzig mailto:steffen@smb-tec.com > SMB GmbH http://www.smb-tec.com > > > > > ATTACHMENT part 2 application/octet-stream name=AbstractSitemap.java.diff > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org ===== Davanum Srinivas, JNI-FAQ Manager http://www.jGuru.com/faq/JNI __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org