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 (JIRA)" <ji...@apache.org> on 2007/01/24 16:42:49 UTC
[jira] Closed: (FTPSERVER-37) null returned by
FileSystemView.getFileObject() not allways handled
[ https://issues.apache.org/jira/browse/FTPSERVER-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson closed FTPSERVER-37.
--------------------------------------
Resolution: Fixed
Assignee: Rana Bhattacharyya
Closing at the issue seems to been fixed
> null returned by FileSystemView.getFileObject() not allways handled
> -------------------------------------------------------------------
>
> Key: FTPSERVER-37
> URL: https://issues.apache.org/jira/browse/FTPSERVER-37
> Project: FtpServer
> Issue Type: Task
> Reporter: John Wood
> Assigned To: Rana Bhattacharyya
> Priority: Trivial
>
> When implementing a custom FileSystemView, if null is returned by the getFileObject() method, this is not explicitely handled in the following places and will throw a NullReferenceException:
> DELE.execute() (DELE.java:75)
> STOU.execute (STOU.java:80)
> This may not be relevent as of course the exception will get handled by the server further up the stack but I thought I should mention it as in all other calls to getFileObject(), a returned null *is* handled.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.