Uploaded image for project: 'Aesh'
  1. Aesh
  2. AESH-471

AIOB exception when completing if cursor is move backward to first char

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 1.6
    • None
    • None
    • None

      Can be reproduced with aesh examples: type 'l' then move the cursor backward to 'l', then type TAB,
      Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
      at org.aesh.readline.Buffer.printInsertedData(Buffer.java:565)
      at org.aesh.readline.Buffer.print(Buffer.java:523)
      at org.aesh.readline.Buffer.print(Buffer.java:518)
      at org.aesh.readline.AeshConsoleBuffer.drawLine(AeshConsoleBuffer.java:117)
      at org.aesh.readline.completion.CompletionHandler.displayCompletions(CompletionHandler.java:219)
      at org.aesh.readline.completion.CompletionHandler.processMultipleCompletions(CompletionHandler.java:177)
      at org.aesh.readline.completion.CompletionHandler.complete(CompletionHandler.java:121)

              spederse@redhat.com Stale Pedersen
              jdenise@redhat.com Jean Francois Denise
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: