Description of problem: When using tab complete to try and auto-fill values or get hints as to the allowed values for certain attributes, an IllegalArgumentException is thrown. Version-Release number of selected component (if applicable): I believe it to be 7.2.0.Final-redhat-8. How reproducible: Always. Steps to Reproduce: 1) Start the server in standalone or domain mode. (Either --admin-only or normal). 2) Start the jboss-cli.sh session: ./jboss-cli.sh -c 3) Run the following command to create a security-domain: Standalone: /subsystem=security/security-domain=new:add() Domain: /profile=full/subsystem=security/security-domain=new:add() 4) Enter the following text: Standalone: /subsystem=security/security-domain=new/jsse=classic:add(keystore={password= Domain: /profile=full/subsystem=security/security-domain=new/jsse=classic:add(keystore={password= 5) Press tab. View stacktrace: http://pastebin.test.redhat.com/148578 Actual results: Stacktrace is thrown and jboss-cli.sh crashes completely. Expected results: Either helper values are displayed, or nothing is displayed (depending upon the type of the attribute in question) Additional info: Would be nice to have this fixed for the upcoming SOA release.
See https://issues.jboss.org/browse/WFLY-1574
This issue also occurs whenever trying to use tab complete in the following situation: 1) [domain@localhost:9999 /] /subsystem=( 2) [domain@localhost:9999 /] /=( Pressing tab in any case where a field should contain something before the ( character results in this stacktrace: java.lang.IllegalArgumentException: The argument value is not specified for name: 'null' at org.jboss.as.cli.operation.impl.DefaultOperationRequestBuilder.addProperty(DefaultOperationRequestBuilder.java:113) at org.jboss.as.cli.operation.impl.DefaultOperationCandidatesProvider.getProperties(DefaultOperationCandidatesProvider.java:209) at org.jboss.as.cli.operation.impl.DefaultOperationCandidatesProvider.getProperties(DefaultOperationCandidatesProvider.java:52) at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:142) at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:95) at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:101) at org.jboss.aesh.console.Console.complete(Console.java:1087) at org.jboss.aesh.console.Console.parseOperation(Console.java:486) at org.jboss.aesh.console.Console.read(Console.java:389) at org.jboss.aesh.console.Console.read(Console.java:341) at org.jboss.as.cli.impl.Console$Factory$1.readLine(Console.java:177) at org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1182) at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:259) 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:606) at org.jboss.modules.Module.run(Module.java:270) at org.jboss.modules.Main.main(Main.java:411)
Verified on EAP 6.2.0.ER2