Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-300

FTPClient.listFiles() throws NullPointerException if listHiddenFiles is TRUE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.2
    • None
    • None

    Description

      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

      Attachments

        1. NET-300.patch
          0.8 kB
          Kirill Safonov

        Activity

          People

            Unassigned Unassigned
            ksafonov Kirill Safonov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: