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

Infinite loop in completer if option name contains a '-' character

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.0.0.Alpha1
    • None
    • None
    • None

      A captured stack extract:
      at org.aesh.command.impl.internal.ProcessedCommand.findLongOptionNoActivatorCheck(ProcessedCommand.java:257)
      at org.aesh.command.impl.internal.ProcessedCommand.searchAllOptions(ProcessedCommand.java:223)
      at org.aesh.command.impl.parser.AeshCommandLineParser.doParseCompletion(AeshCommandLineParser.java:294)
      at org.aesh.command.impl.parser.AeshCommandLineParser.doParse(AeshCommandLineParser.java:249)
      at org.aesh.command.impl.parser.AeshCommandLineParser.parse(AeshCommandLineParser.java:238)
      at org.aesh.command.impl.parser.AeshCommandLineParser.complete(AeshCommandLineParser.java:101)
      at org.jboss.as.cli.impl.aesh.CLICommandContainer$CLICommandParser.complete(CLICommandContainer.java:259)
      at org.aesh.command.impl.AeshCommandRuntime.complete(AeshCommandRuntime.java:255)
      at org.jboss.as.cli.impl.aesh.AeshCommands.complete(AeshCommands.java:211)
      at org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:64)
      at org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:39)
      at org.aesh.readline.completion.CompletionHandler.createCompletionList(CompletionHandler.java:134)
      at org.aesh.readline.completion.CompletionHandler.complete(CompletionHandler.java:102)

              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: