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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
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


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.

Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)

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

Kirill Safonov updated NET-300:
-------------------------------

    Attachment: NET-300.patch

patch attached

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

Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Rory Winston closed NET-300.
----------------------------

    Resolution: Fixed

Fixed. Thanks KIrill

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