You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Glen Mazza (Commented) (JIRA)" <ji...@apache.org> on 2011/11/18 05:09:52 UTC
[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on
commands that don't take Arguments/Options throws
IndexOutOfBoundsException.
[ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152629#comment-13152629 ]
Glen Mazza commented on KARAF-1018:
-----------------------------------
Just to confirm, this error is occurring only on new commands that don't have any options that you've specially created for Karaf? Because AFAIK every Karaf command has the --help option, which would mean this error would never occur for any built-in Karaf commands, correct?
> using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.
> --------------------------------------------------------------------------------------------------------------
>
> Key: KARAF-1018
> URL: https://issues.apache.org/jira/browse/KARAF-1018
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Affects Versions: 2.2.4
> Environment: Java 1.6.029 on a Windows environment.
> Reporter: Adam Lavie
> Assignee: Jean-Baptiste Onofré
> Priority: Minor
> Labels: CompleterValues, TAB, autocomplete, completer
> Fix For: 2.2.5, 3.0.0
>
>
> When using the TAB auto-complete key after commands that do not take any Arguments/Options,
> a message is printed saying "Error executing command: -1".
> The shell then becomes unresponsive and the TAB auto-complete option is inactive.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira