You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rory Winston (JIRA)" <ji...@apache.org> on 2010/03/08 07:15:27 UTC

[jira] Updated: (NET-300) FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE

     [ https://issues.apache.org/jira/browse/NET-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rory Winston updated NET-300:
-----------------------------

    Fix Version/s: 2.1

> FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE
> ----------------------------------------------------------------------------
>
>                 Key: NET-300
>                 URL: https://issues.apache.org/jira/browse/NET-300
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Kirill Safonov
>             Fix For: 2.1
>
>         Attachments: NET-300.patch
>
>
> When listHiddenFiles is TRUE FTPClient.getListArguments() code determines the length of pathname parameter to create the appropriate StringBuffer (FtpClient.java:2319).
> Still pathname may merely be null if I call FTPClient.listFiles() - the one without params

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.