Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 7784 invoked by uid 500); 27 Feb 2002 20:38:32 -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 7769 invoked from network); 27 Feb 2002 20:38:32 -0000 Message-ID: <20020227203837.11041.qmail@web12806.mail.yahoo.com> Date: Wed, 27 Feb 2002 12:38:37 -0800 (PST) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: NPE with StreamGenerator/HttpServletRequest ? To: cocoon-dev@xml.apache.org Cc: sharkbait@mac.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jeremy, I tried the test1->test5 just now did not see any NPE's. Can you tell me how to reproduce the NPE? Thanks, dims --- Jeremy Quinn wrote: > Dear Dims, > > After having updated my CVS after a couple of days, I am just testing > slash-edit with the new WriteableSourceTransformer and I am getting an NPE > from the StreamGenerator at line 162. > > 161: contentType = request.getContentType(); > 162: if (contentType.startsWith("application/x-www-form-urlencoded")) { > > I wonder, has this anything to do with the changes to the Request > implementation you have been working on? > > Is it possible that some change has meant that request.getContentType() can > return null? > > I am sorry, I have been unable to work out for myself what is going wrong. > > regards Jeremy > -- > ___________________________________________________________________ > > Jeremy Quinn Karma Divers > webSpace Design > HyperMedia Research Centre > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > ===== Davanum Srinivas - http://jguru.com/dims/ __________________________________________________ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org