You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Niklas Gustavsson (JIRA)" <ji...@apache.org> on 2009/01/09 22:41:59 UTC

[jira] Closed: (FTPSERVER-256) LastAccessTime of ftp session is null

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

Niklas Gustavsson closed FTPSERVER-256.
---------------------------------------

    Resolution: Fixed
      Assignee: Niklas Gustavsson

Fixed.

> LastAccessTime of ftp session is null
> -------------------------------------
>
>                 Key: FTPSERVER-256
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-256
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.0-M4
>            Reporter: Jiri Kuhn
>            Assignee: Niklas Gustavsson
>             Fix For: 1.0.0-RC1
>
>
> Command SITE WHO fails because of NPE while calling FtpIoSession.getLastAccessTime().getTime() (line 97-98). LastAccessTime is almost never updated nor it is initialized.
> It seems to me that session.updateLastAccessTime() should be placed somewhere into DefaultFtpHandler.messageReceived().

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