[jboss-jira] [JBoss JIRA] (WFLY-1574) jboss-cli.sh throws IllegalArgumentException when using tab complete

jaikiran pai (JIRA) jira-events at lists.jboss.org
Fri Jun 21 23:40:20 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783770#comment-12783770 ] 

jaikiran pai commented on WFLY-1574:
------------------------------------

Posting the stacktrace here for reference:

{code}
    java.lang.IllegalArgumentException
            at org.jboss.dmr.ModelValue.asType(ModelValue.java:132)
            at org.jboss.dmr.ModelNode.asType(ModelNode.java:302)
            at org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.isBoolean(ValueTypeCompleter.java:324)
            at org.jboss.as.cli.impl.ValueTypeCompleter$ValueTypeCallbackHandler.getCandidates(ValueTypeCompleter.java:229)
            at org.jboss.as.cli.impl.ValueTypeCompleter.complete(ValueTypeCompleter.java:83)
            at org.jboss.as.cli.operation.OperationRequestCompleter.complete(OperationRequestCompleter.java:222)
            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:1198)
            at org.jboss.as.cli.impl.CliLauncher.main(CliLauncher.java:270)
            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:270)
            at org.jboss.modules.Main.main(Main.java:411)
{code}

                
> jboss-cli.sh throws IllegalArgumentException when using tab complete
> --------------------------------------------------------------------
>
>                 Key: WFLY-1574
>                 URL: https://issues.jboss.org/browse/WFLY-1574
>             Project: WildFly
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 8.0.0.Alpha2
>         Environment: Linux 3.9.4-200.fc18.x86_64 #1 SMP Fri May 24 20:10:49 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Thomas Hauser
>            Assignee: Alexey Loubyansky
>
> 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.
> Note: This issue also affects 7.2.0.Final 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list