]
RH Bugzilla Integration commented on WFLY-3595:
-----------------------------------------------
Paul Gier <pgier(a)redhat.com> changed the Status of [bug
CLI ValueTypeCompleter throws IllegalArgumentException
------------------------------------------------------
Key: WFLY-3595
URL:
https://issues.jboss.org/browse/WFLY-3595
Project: WildFly
Issue Type: Bug
Components: CLI
Affects Versions: 8.1.0.Final
Reporter: Alexey Loubyansky
Assignee: Alexey Loubyansky
Fix For: 8.2.0.CR1
Steps to Reproduce:
1. start the domain mode
2. start jboss-cli.sh
3. type
"/profile=full/subsystem=security/security-domain=test/authentication=classic/:add(login-modules=[{code="UsersRoles",flag=required,module-options=[("
4. hit tab key.
5. The following error appears and cli goes dead.
[domain@localhost:9999 /]
/profile=full/subsystem=security/security-domain=test/authentication=classic/:add(login-modules=[{code="UsersRoles",flag=required,module-options=[(java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.getKeys(ModelValue.java:128)
at org.jboss.dmr.ModelNode.keys(ModelNode.java:1291)
at
org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.getCandidates(ValueTypeCompleter.java:309)
at org.jboss.as.cli.impl.ValueTypeCompleter.complete(ValueTypeCompleter.java:83)
at
org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCopleter.java:224)
at org.jboss.as.cli.CommandCompleter.complete(CommandCompleter.java:95)
at org.jboss.as.cli.impl.Console$Factory$1$1.complete(Console.java:102)
at org.jboss.aesh.console.Console.complete(Console.java:1155)
at org.jboss.aesh.console.Console.parseOperation(Console.java:550)
at org.jboss.aesh.console.Console.read(Console.java:452)
at org.jboss.aesh.console.Console.read(Console.java:346)
at org.jboss.as.cli.impl.Console$Factory$1.readLine(Console.java:178)
at
org.jboss.as.cli.impl.CommandContextImpl.interact(CommandContextImpl.java:1204)
at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:263)
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:312)
at org.jboss.modules.Main.main(Main.java:460)