cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <d...@yahoo.com>
Subject Re: NPE with StreamGenerator/HttpServletRequest ?
Date Wed, 27 Feb 2002 20:38:37 GMT
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 <jermq@media.demon.co.uk> 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
> 
>    <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
>    <phone:+44.[0].20.7737.6831>             <pager:jermq@vizzavi.net>
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message