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

Remote Shell not correctly catching exceptions in TerminalPrintStream

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: shell.remote-1.1.0
    • Fix Version/s: shell.remote-1.1.2
    • Component/s: Remote Shell
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: