[
https://issues.apache.org/jira/browse/NET-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522917
]
Nathan Beyer commented on NET-168:
----------------------------------
Do you have a code example or test case that can recreate this behavior? Can
you provide any more context to what you're doing when this happens?
Are you accessing an instance of TelnetClient, FTP or FTPClient from multiple
threads? If so, are you protecting it appropriately?
> NullPointerException in TelnetClient.disconnect() while being connected
> -----------------------------------------------------------------------
>
> Key: NET-168
> URL: https://issues.apache.org/jira/browse/NET-168
> Project: Commons Net
> Issue Type: Bug
> Affects Versions: 1.4
> Environment: Debian GNU/Linux, FedoraCore, RedHat
> Reporter: Kamil
>
> java.lang.NullPointerException
> org.apache.commons.net.telnet.TelnetClient.disconnect(TelnetClient.java:125)
> org.apache.commons.net.ftp.FTP.disconnect(FTP.java:397)
> org.apache.commons.net.ftp.FTPClient.disconnect(FTPClient.java:590)
> This exception occurs when trying to invoke myFTPClient.disconnect() method,
> when ftpclient hangs for a long time and dont want to connect...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.