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

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Fri Aug 2 11:55:26 EDT 2013


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

RH Bugzilla Integration commented on WFLY-1574:
-----------------------------------------------

Thomas Hauser <thauser at redhat.com> made a comment on [bug 977407|https://bugzilla.redhat.com/show_bug.cgi?id=977407]

This issue also occurs whenever trying to use tab complete in the following situation:

1) [domain at localhost:9999 /] /subsystem=(

2) [domain at 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)
                
> 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.Alpha1
>         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
>             Fix For: 8.0.0.Alpha3
>
>
> 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