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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.Beta1
    • 8.0.0.Alpha3
    • CLI
    • None

      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;

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

                Created:
                Updated:
                Resolved: