commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rory Winston (JIRA)" <j...@apache.org>
Subject [jira] Updated: (NET-300) FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE
Date Mon, 08 Mar 2010 06:15:27 GMT

     [ 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.


Mime
View raw message