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

[net] TelnetClient#disconnect() causes NullPointerException from Linux when connected to Windows 2000 Telnet Server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 2.0
    • None
    • None
    • Operating System: Linux
      Platform: PC

    • 26296

    Description

      When calling TelnetClient#disconnect(), a NullPointerException is thrown because
      either __input or __output is already null. After fixing my working copy of the
      source, an additional NPE is thrown in SocketClient#disconnect() because the
      socket variable is already null. I've patched both files to check for null of
      the affected intasnce variables before calling the close() methods and will be
      submitting a patch.

      Attachments

        Activity

          People

            Unassigned Unassigned
            carcher@drillinginfo.com Clark E. Archer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: