You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by Vincent Massol <vm...@pivolis.com> on 2003/05/21 10:08:29 UTC

RE: Null pointer exception

Hi Jason,

Thanks a lot. This is the kind of feedback we appreciate :-)

-Vincent

PS: Please use the cactus user or dev mailing list next time. That way,
people will know of this problem and other Cactus committers can help
fix the problem more quickly!

> -----Original Message-----
> From: Vinton, Jason S. [mailto:Jason.Vinton@MKMV.com]
> Sent: 21 May 2003 03:14
> To: vmassol@apache.org
> Subject: Null pointer exception
> 
> Vincent,
> 
> The class "AbstractHttpServletRequestWrapper" can take a null
ServletURL,
> however, there is one place where the private variable "url" is
accessed
> without a check for null:
> 
> AbstractHttpServletRequestWrapper.java:
> 
> 302                 public String getPathTranslated()
> 303                 {
> 304                     String pathTranslated;
> 305
> 306                     String pathInfo = this.url.getPathInfo();
> ....
> 
> 
> This is giving a null pointer exception.
> 
> I hope this helps contribute a little to Cactus cause!
> Cheers,
> Jason Vinton


---------------------------------------------------------------------
To unsubscribe, e-mail: cactus-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: cactus-dev-help@jakarta.apache.org