[
https://issues.jboss.org/browse/WFCORE-4359?page=com.atlassian.jira.plugi...
]
James Perkins moved JBEAP-16503 to WFCORE-4359:
-----------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-4359 (was: JBEAP-16503)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: CLI
Embedded
(was: CLI)
(was: Embedded)
Affects Version/s: (was: 7.3.0.CD15)
CommandFormatException: Invalid syntax... when using tab completion
-------------------------------------------------------------------
Key: WFCORE-4359
URL:
https://issues.jboss.org/browse/WFCORE-4359
Project: WildFly Core
Issue Type: Bug
Components: CLI, Embedded
Reporter: Miroslav Novak
Assignee: James Perkins
Priority: Major
There is issue when tab completion is used in following malformed command:
{code}
[standalone@embedded /]
/subsystem=modcluster/proxy=modcluster:add(advertise=false,proxies=mod_cluster-pro14:56:17,909
WARN [org.jboss.as.cli.impl.ValueTypeCompleter] (CLI Terminal Connection
(uninterruptable)) Invalid syntax.: org.jboss.as.cli.CommandFormatException: Invalid
syntax.
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.enteredState(ValueTypeCompleter.java:951)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser$ParsingContextImpl.enterState(StateParser.java:420)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.ValueTypeCompleter$PropertyListState$1.handle(ValueTypeCompleter.java:1248)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser$ParsingContextImpl.enterState(StateParser.java:421)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.ValueTypeCompleter$InitialValueState$1.handle(ValueTypeCompleter.java:1184)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser$ParsingContextImpl.parse(StateParser.java:261)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser.doParse(StateParser.java:150)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser.parseLine(StateParser.java:124)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser.parseLine(StateParser.java:117)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser.parseLine(StateParser.java:95)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser.parseLine(StateParser.java:75)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.parsing.StateParser.parse(StateParser.java:65)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.ValueTypeCompleter.parse(ValueTypeCompleter.java:401)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.ValueTypeCompleter.complete(ValueTypeCompleter.java:381)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.operation.OperationRequestCompleter.completeWithValueCompleter(OperationRequestCompleter.java:413)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.operation.OperationRequestCompleter.completeProperties(OperationRequestCompleter.java:672)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:709)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:90)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:99)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.aesh.CLICompletionHandler.completeLegacyCommands(CLICompletionHandler.java:157)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:133)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.CLICommandCompleter.doComplete(CLICommandCompleter.java:132)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.CLICommandCompleter.complete(CLICommandCompleter.java:54)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:69)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.aesh.CLICompletionHandler.complete(CLICompletionHandler.java:45)
at
org.aesh//org.aesh.readline.completion.CompletionHandler.createCompletionList(CompletionHandler.java:135)
at
org.aesh//org.aesh.readline.completion.CompletionHandler.complete(CompletionHandler.java:103)
at
org.aesh//org.aesh.readline.action.mappings.Complete.accept(Complete.java:62)
at
org.aesh//org.aesh.readline.Readline$AeshInputProcessor.parse(Readline.java:246)
at
org.aesh//org.aesh.readline.Readline$AeshInputProcessor.access$100(Readline.java:174)
at org.aesh//org.aesh.readline.Readline.readInput(Readline.java:95)
at org.aesh//org.aesh.readline.Readline.access$1000(Readline.java:57)
at
org.aesh//org.aesh.readline.Readline$AeshInputProcessor.lambda$start$1(Readline.java:333)
at org.aesh//org.aesh.terminal.EventDecoder.accept(EventDecoder.java:118)
at org.aesh//org.aesh.terminal.EventDecoder.accept(EventDecoder.java:31)
at org.aesh//org.aesh.io.Decoder.write(Decoder.java:133)
at
org.aesh//org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:216)
at
org.aesh//org.aesh.readline.tty.terminal.TerminalConnection.openBlocking(TerminalConnection.java:203)
at
org.jboss.as.cli@7.0.1.Final-redhat-00001//org.jboss.as.cli.impl.ReadlineConsole$CLITerminalConnection.lambda$null$1(ReadlineConsole.java:178)
at java.base/java.lang.Thread.run(Thread.java:834)
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0155: 'listener' may
not be null",
"rolled-back" => true
}
{code}
where attribute {{proxies}} should take a list. Exception should not be thrown.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)