You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-dev@incubator.apache.org by Niklas Gustavsson <ni...@protocol7.com> on 2007/10/02 20:57:48 UTC

Re: Potential NPEs

Thanks, now fixed.

/niklas

Dave Roberts wrote:
> Found the following, which could be sorted...
> 
> org.apache.ftpserver.util.ClassUtils.java:72
> setProperty() method throws an exception if setter or setterMethod
> is null, but setter is deferenced in the throw line.
> 
> 
> org.apache.ftpserver.command.Pass.java:101
> the variable userName could be null.  It's sort of caught in line
> 88, but only if session.getUser() is also null.
>