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:[EMAIL PROTECTED] > Sent: 25 February 2004 11:07 > To: [EMAIL PROTECTED] > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
