jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: AbstractHttpServletRequestWrapper - NullPointerException
Date Wed, 25 Feb 2004 10:40:39 GMT
Hi Paul,

You found a bug! I have just fixed it (I hope) in CVS HEAD. I'll upload
a nightly build tonight.

Thanks
-Vincent

> -----Original Message-----
> From: Paul Green [mailto:Paul.Green@ons.gsi.gov.uk]
> Sent: 25 February 2004 11:07
> To: cactus-user@jakarta.apache.org
> Subject: AbstractHttpServletRequestWrapper - NullPointerException
> 
> Hi All,
> 
> I have a piece of code that calls request.getPathTranslated() which,
in
> Cactus, ends up as a call to
> AbstractHttpServletRequestWrapper.getPathTranslated(). This appears to
be
> throwing a NullPointerException on line 314, where it tries to call
> getPathInfo() on the instance variable "url". This instance variable
is
> set
> when the constructor is called, and the Javadoc says that it can be
set to
> null. In order to make my code work, therefore, I need to find out how
to
> have a non-null "url" parameter passed to the constructor of
> AbstractHttpServletRequestWrapper. Does anyone know how I can do this?
> 
> Regards,
> 
> Paul Green
> Developer, JTU, Office for National Statistics
> 
> Paul's pointless fact of the week:
> "Twenty-one percent of American smokers do not believe that nicotine
is
> addictive."
> 
> 
> 
> 
> For the latest data on the economy and society
> consult National Statistics at http://www.statistics.gov.uk
> 
> **********************************************************************
> Please Note:  Incoming and outgoing email messages
> are routinely monitored for compliance with our policy
> on the use of electronic communications
> **********************************************************************
> Legal Disclaimer  :  Any views expressed by
> the sender of this message are not necessarily
> those of the Office for National Statistics
> **********************************************************************
> 
> The original of this email was scanned for viruses by the Government
> Secure Intranet (GSi) virus scanning service supplied exclusively by
> Energis in partnership with MessageLabs.
> 
> On leaving the GSi this email was certified virus-free
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message