Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2604

Remote Shell not correctly catching exceptions in TerminalPrintStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • shell.remote-1.1.0
    • shell.remote-1.1.2
    • Remote Shell
    • None

    Description

      In TerminalPrintStream.flush(), the internal call to out.flush() is bracket by a try block catching an IOException, but it appears that out gets set to null at point an the method ends up throwing an NPE. We should probably catch Exception, like the other methods in TerminalPrintStream to avoid this.

      Attachments

        Activity

          People

            rickhall Richard S. Hall
            rickhall Richard S. Hall
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: