[
https://issues.jboss.org/browse/AS7-3766?page=com.atlassian.jira.plugin.s...
]
Alexey Loubyansky resolved AS7-3766.
------------------------------------
Fix Version/s: 7.1.1.Final
(was: 7.1.2.Final)
Resolution: Done
It's a harmless debugging stacktrace. Removed now. Thanks.
CLI: Exception in tab completition of operation headers
-------------------------------------------------------
Key: AS7-3766
URL:
https://issues.jboss.org/browse/AS7-3766
Project: Application Server 7
Issue Type: Bug
Components: CLI
Reporter: Dominik Pospisil
Assignee: Alexey Loubyansky
Fix For: 7.1.1.Final
CLI throws an exception when doing tab completition of operation headers.
Steps to reproduce:
1) Open CLI, connect to domain
2) type: deploy --all-server-groups /home/dpospisi/deploy/deployment0.war
--headers={rollout=
3) hit tab
Exception thrown:
org.jboss.as.cli.CommandFormatException: Property is missing name at index 8
at
org.jboss.as.cli.parsing.operation.header.RolloutPlanHeaderCallbackHandler.enteredState(RolloutPlanHeaderCallbackHandler.java:71)
at org.jboss.as.cli.parsing.ParserUtil$1.enteredState(ParserUtil.java:108)
at
org.jboss.as.cli.parsing.StateParser$ParsingContextImpl.enterState(StateParser.java:103)
at org.jboss.as.cli.parsing.operation.HeaderState$1.handle(HeaderState.java:62)
at
org.jboss.as.cli.parsing.StateParser$ParsingContextImpl.leaveState(StateParser.java:113)
at
org.jboss.as.cli.parsing.GlobalCharacterHandlers$4.handle(GlobalCharacterHandlers.java:76)
at org.jboss.as.cli.parsing.StateParser.parse(StateParser.java:68)
at org.jboss.as.cli.parsing.ParserUtil.parseOperationRequest(ParserUtil.java:61)
at
org.jboss.as.cli.operation.impl.DefaultCallbackHandler.parseOperation(DefaultCallbackHandler.java:128)
at
org.jboss.as.cli.operation.impl.HeadersCompleter.complete(HeadersCompleter.java:53)
at
org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:222)
at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:91)
at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:121)
at jline.ConsoleReader.complete(ConsoleReader.java:832)
at jline.ConsoleReader.readLine(ConsoleReader.java:518)
at jline.ConsoleReader.readLine(ConsoleReader.java:448)
at org.jboss.as.cli.impl.Console$Factory$1.readLine(Console.java:192)
at
org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1002)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:189)
at org.jboss.as.cli.CommandLineMain.main(CommandLineMain.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.jboss.modules.Module.run(Module.java:260)
at org.jboss.modules.Main.main(Main.java:291)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira