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
    • Resolution: Done
    • Major
    • 8.0.0.Beta1
    • 8.0.0.Alpha3
    • 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 Alexey Loubyansky
            spederse@redhat.com Stale Pedersen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: