-
Bug
-
Resolution: Done
-
Blocker
-
5.0.0.Final
-
- Connect to standalone
- Insert /system-property=x:read-resource without hitting of enter
- Move cursor to beginning of the command
- hit TAB
-
Regression
When you write some command into the CLI prompt (without enter), move cursor to beginning of line and hit TAB, the CLI crashes on NullPointerException.
[standalone@localhost:9990 /] /system-property=x:read-resource read-resource read-resource-description Exception in thread "CLI Terminal Connection (uninterruptable)" java.lang.NullPointerException at org.jboss.as.cli.impl.aesh.cmd.operation.OperationCommandContainer.isOperation(OperationCommandContainer.java:53) at org.jboss.as.cli.impl.aesh.CLICommandRegistry.getCommand(CLICommandRegistry.java:258) at org.jboss.as.cli.impl.aesh.CLICommandRegistry.isLegacyCommand(CLICommandRegistry.java:343) at org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:134) at org.jboss.as.cli.impl.CLICommandCompleter.doComplete(CLICommandCompleter.java:132) at org.jboss.as.cli.impl.CLICommandCompleter.complete(CLICommandCompleter.java:54) at org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:69) at org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:45) at org.aesh.readline.completion.CompletionHandler.createCompletionList(CompletionHandler.java:134) at org.aesh.readline.completion.CompletionHandler.complete(CompletionHandler.java:102) at org.aesh.readline.action.mappings.Complete.accept(Complete.java:62) at org.aesh.readline.Readline$AeshInputProcessor.parse(Readline.java:245) at org.aesh.readline.Readline$AeshInputProcessor.access$100(Readline.java:174) at org.aesh.readline.Readline.readInput(Readline.java:95) at org.aesh.readline.Readline.access$1000(Readline.java:57) at org.aesh.readline.Readline$AeshInputProcessor.lambda$start$1(Readline.java:333) at org.aesh.terminal.EventDecoder.accept(EventDecoder.java:118) at org.aesh.terminal.EventDecoder.accept(EventDecoder.java:31) at org.aesh.io.Decoder.write(Decoder.java:133) at org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:212) at org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:199) at org.jboss.as.cli.impl.ReadlineConsole$CLITerminalConnection.lambda$null$1(ReadlineConsole.java:171) at java.lang.Thread.run(Thread.java:748)
- is blocked by
-
AESH-471 AIOB exception when completing if cursor is move backward to first char
- Resolved
- is incorporated by
-
WFCORE-3903 Upgrade CLI to use aesh 1.6, aesh-extensions 1.5 and aesh-readline 1.9
- Resolved