Menu

Null pointer exception

Help
Zev Griner
2009-07-13
2013-04-19
  • Zev Griner

    Zev Griner - 2009-07-13

    I went here: ftp.ed.ac.uk, to test my program using anonymous login. I didn't realize that the default directory was inaccessible. When I called getFileDescriptors, I got:
    Exception in thread "main" java.lang.NullPointerException
        at org.finj.FTPClient.getFileDescriptors(FTPClient.java:1565)

     
    • Javier Iglesias

      Javier Iglesias - 2009-07-16

      Hi Zev,

      This has just been fixed in release 1.1.5, i.e. SVN revision 55.

      I'm struggling with the sourceforge release system right now... so the public binary release will be available shortly in a stable form.

      As of right now, the file can be downloaded from
      -> http://sourceforge.net/projects/finj/files/
      but it should not be there... whatever. Maybe you can get your hand on that file, anyway.

      In any case, you can get the code out of SVN and use maven to compile the library.

      Many thanks for detecting that bug!

        --javier

       

Log in to post a comment.