Bug 1117121 - [6.3.0] - CLI goes dead when hitting tab in module-options
Summary: [6.3.0] - CLI goes dead when hitting tab in module-options
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: CLI
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: DR1
: EAP 6.4.0
Assignee: jboss-set
QA Contact: Petr Kremensky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-07-08 05:37 UTC by Petr Kremensky
Modified: 2019-08-19 12:45 UTC (History)
5 users (show)

Fixed In Version:
Clone Of: 1117088
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-3595 0 Major Resolved CLI ValueTypeCompleter throws IllegalArgumentException 2017-02-06 14:21:54 UTC

Description Petr Kremensky 2014-07-08 05:37:48 UTC
+++ This bug was initially created as a clone of Bug #1117088 +++

Description of problem:
CLI goes dead when hitting tab in module-options.

Version-Release number of selected component (if applicable):
EAP 6.3.0.ER9

How reproducible:
Always

Steps to Reproduce:
1. start EAP 6.3.0 in 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)
[hokuda@localhost eap624]$ 

Actual results:


Expected results:


Additional info:

Comment 1 JBoss JIRA Server 2014-07-08 21:12:34 UTC
Alexey Loubyansky <alex> updated the status of jira WFLY-3595 to Resolved

Comment 2 Joe Wertz 2014-07-16 08:26:54 UTC
Backport: https://github.com/jbossas/jboss-eap/pull/1522

Comment 3 Petr Kremensky 2014-09-19 08:54:36 UTC
Verified on EAP 6.4.0.DR1.1


Note You need to log in before you can comment on or make changes to this bug.