You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Adam Lavie (Created) (JIRA)" <ji...@apache.org> on 2011/11/16 15:26:51 UTC

[jira] [Created] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

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
            Priority: Minor


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

        

[jira] [Work started] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Work started JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-1018 started by Jean-Baptiste Onofré.

> 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.6
>
>
> 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

       

[jira] [Issue Comment Edited] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270341#comment-13270341 ] 

Adam Lavie edited comment on KARAF-1018 at 5/8/12 9:51 AM:
-----------------------------------------------------------

attached the command and a printscreen of the shell client.
This was reproduces on 2.2.5, 2.2.6 and 3.0.0
                
      was (Author: nipitz):
    attached the command and a printscreen of the shell client.
This was tested on 2.2.5, 2.2.6 and 3.0.0
                  
> 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.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285617#comment-13285617 ] 

Christian Schneider commented on KARAF-1018:
--------------------------------------------

How do you install the command? Do you use the blueprint namespace? Can you provide a full project?
                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Resolved] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-1018.
-----------------------------------------

       Resolution: Cannot Reproduce
    Fix Version/s: 3.0.0

I'm not able to reproduce the issue.

Could you provide your command code, especially the annotated class and the blueprint declaration of the command ?
                
> 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.6, 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Barak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509732#comment-13509732 ] 

Barak commented on KARAF-1018:
------------------------------

Had there been any progress with this issue? The problem is still relevant in 2.2.9.
                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.1
>
>         Attachments: doSomething.java, Shell.jpg
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Issue Comment Edited] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270341#comment-13270341 ] 

Adam Lavie edited comment on KARAF-1018 at 5/8/12 9:48 AM:
-----------------------------------------------------------

attached the command and a printscreen of the shell client
                
      was (Author: nipitz):
    attache the command and a printscreen of the shell client
                  
> 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.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

       

[jira] [Updated] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1018:
----------------------------------------

    Fix Version/s:     (was: 2.2.5)
                   2.2.6
    
> 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.6, 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

       

[jira] [Updated] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1018:
----------------------------------------

    Fix Version/s: 3.0.0
                   2.2.5
    
> 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

       

[jira] [Updated] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider updated KARAF-1018:
---------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.0.1

Moving to 3.0.1. If I can reproduce the error I will move it back to 3.0.0
                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.1
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Closed] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jamie goodyear (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jamie goodyear closed KARAF-1018.
---------------------------------

    
> 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.6, 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

       

[jira] [Assigned] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Assigned JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1018:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré
    
> 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
>
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403135#comment-13403135 ] 

Adam Lavie commented on KARAF-1018:
-----------------------------------

I have added instructions in the git cloudify page on how to build the project, import it to the eclipse and debug it.
The reason you got the error is that you can't build the CLI by itself. It depends on another project (DSL) that has to be compiled first.
If you follow the instructions on git you should not have any problems. ant will do all the work for you. 
Please let me know if you are still having problems with it. 

                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.1
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Issue Comment Edited] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270341#comment-13270341 ] 

Adam Lavie edited comment on KARAF-1018 at 5/8/12 9:51 AM:
-----------------------------------------------------------

attached the command and a printscreen of the shell client.
This was tested on 2.2.5, 2.2.6 and 3.0.0
                
      was (Author: nipitz):
    attached the command and a printscreen of the shell client
                  
> 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.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Glen Mazza (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

       

[jira] [Updated] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Lavie updated KARAF-1018:
------------------------------

    Attachment: Shell.jpg
                doSomething.java

attache the command and a printscreen of the shell client
                
> 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.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229095#comment-13229095 ] 

Jean-Baptiste Onofré commented on KARAF-1018:
---------------------------------------------

The problem doesn't occur on trunk (link to the enhancement around the shell namespace). I'm testing on karaf-2.2.x.
                
> 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.6
>
>
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289501#comment-13289501 ] 

Adam Lavie commented on KARAF-1018:
-----------------------------------

Sure I can. basically it's an opensource project that you can check out using git from www.cloudifysource.org, or I can just send it to you directly.
just tell me what you prefer. 
Thanks, 
Adam
                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Comment Edited] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Barak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509732#comment-13509732 ] 

Barak edited comment on KARAF-1018 at 12/4/12 1:54 PM:
-------------------------------------------------------

Has there been any progress with this issue? The problem is still relevant in 2.2.9.
                
      was (Author: barakm):
    Had there been any progress with this issue? The problem is still relevant in 2.2.9.
                  
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.1
>
>         Attachments: doSomething.java, Shell.jpg
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1018:
----------------------------------------

    Fix Version/s:     (was: 3.0.0)
    
> 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.6
>
>
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152696#comment-13152696 ] 

Jean-Baptiste Onofré commented on KARAF-1018:
---------------------------------------------

I think so, but it can happen on Karaf command is the description attribute is not defined.

I will override the OsgiCommandSupport to define a default empty description. Anyway, the Karaf console (jline) should handle that, I will enhance it as well.
                
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399402#comment-13399402 ] 

Christian Schneider commented on KARAF-1018:
--------------------------------------------

I checked out the source and tried to compile the CLI project. 
This is the error I get:
[ERROR] Failed to execute goal on project CLI: Could not resolve dependencies for project org.cloudifysource:CLI:jar:2.1.1: Failed to collect dependencies for [junit:junit:jar:4.8.2 (test), com.gigasp
aces:gs-openspaces:jar:9.0.1-m1-6694-50 (provided), org.apache.karaf.shell:org.apache.karaf.shell.console:jar:2.2.5 (compile), org.slf4j:slf4j-api:jar:1.6.1 (compile), org.slf4j:slf4j-nop:jar:1.6.1 (c
ompile), commons-io:commons-io:jar:2.0.1 (provided), org.hyperic:sigar:jar:1.6.5 (provided), org.codehaus.groovy:groovy:jar:1.8.5 (provided), org.apache.httpcomponents:httpclient:jar:4.1.1 (compile),
org.apache.httpcomponents:httpmime:jar:4.1.1 (compile), org.codehaus.jackson:jackson-core-asl:jar:1.3.0 (compile), org.codehaus.jackson:jackson-mapper-asl:jar:1.3.0 (compile), org.apache.commons:commo
ns-exec:jar:1.1.1-SNAPSHOT (compile), org.cloudifysource:dsl:jar:2.1.1 (provided), org.cloudifysource:rest-client:jar:2.1.1 (compile), commons-logging:commons-logging:jar:1.0.3 (provided), com.sun:dep
loy:jar:1 (system)]: Failed to read artifact descriptor for org.cloudifysource:dsl:jar:2.1.1: Could not transfer artifact org.cloudifysource:dsl:pom:2.1.1 from/to org.openspaces (http://maven-reposito
ry.openspaces.org): Access denied to: http://maven-repository.openspaces.org/org/cloudifysource/dsl/2.1.1/dsl-2.1.1.pom, ReasonPhrase:Forbidden. -> [Help 1]

                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404732#comment-13404732 ] 

Adam Lavie commented on KARAF-1018:
-----------------------------------

Forgot to publish the link: https://github.com/CloudifySource/cloudify
                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.1
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Assigned] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-1018:
-------------------------------------------

    Assignee:     (was: Jean-Baptiste Onofré)
    
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

       

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13393465#comment-13393465 ] 

Christian Schneider commented on KARAF-1018:
--------------------------------------------

Checking out is ok. Can you provide some more informations where the sources are?
                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Commented] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397526#comment-13397526 ] 

Adam Lavie commented on KARAF-1018:
-----------------------------------

In the cloudify project, you will find a karaf based project called CLI. You will find everything you need there. 
Please let me know if you need anything else.
Adam
                
> 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
>            Priority: Minor
>              Labels: CompleterValues, TAB, autocomplete, completer
>             Fix For: 2.2.6, 3.0.0
>
>         Attachments: Shell.jpg, doSomething.java
>
>
> 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

        

[jira] [Reopened] (KARAF-1018) using auto-complete (TAB key) on commands that don't take Arguments/Options throws IndexOutOfBoundsException.

Posted by "Adam Lavie (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Lavie reopened KARAF-1018:
-------------------------------


This issue is still not resolved. 
Will attach the command code.
                
> 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.6, 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