Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-1865

NPE might occur when a null object is returned from the aesh Console

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 8.0.0.Alpha3
    • 8.0.0.Beta1
    • CLI
    • None

    Description

      In cli/src/main/java/org/jboss/as/cli/impl/Console.java

      177 - return console.read(prompt).getBuffer();
      178 + ConsoleOutput output = console.read(prompt);
      179 + return output != null ? output.getBuffer() : null;

      Attachments

        Activity

          People

            olubyans@redhat.com Oleksiy Lubyanskyy
            spederse@redhat.com Stale Pedersen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: